mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
no need to fake sig_userpost
This commit is contained in:
parent
67f3cd7ba5
commit
fa004f5108
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user