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
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…
Cancel
Save