|
|
@ -1563,9 +1563,7 @@ entry formatSpamPost(const string &msg, const string &username, uint64_t utcTime |
|
|
|
userpost["height"] = height ? height : getBestHeight(); |
|
|
|
userpost["height"] = height ? height : getBestHeight(); |
|
|
|
userpost["msg"] = msg; |
|
|
|
userpost["msg"] = msg; |
|
|
|
|
|
|
|
|
|
|
|
unsigned char vchSig[65]; |
|
|
|
v["sig_userpost"] = ""; |
|
|
|
RAND_bytes(vchSig,sizeof(vchSig)); |
|
|
|
|
|
|
|
v["sig_userpost"] = HexStr( string((const char *)vchSig, sizeof(vchSig)) ); |
|
|
|
|
|
|
|
return v; |
|
|
|
return v; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|