Browse Source

no need to fake sig_userpost

miguelfreitas
Miguel Freitas 10 years ago
parent
commit
fa004f5108
  1. 4
      src/twister.cpp

4
src/twister.cpp

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

Loading…
Cancel
Save