Browse Source

Merge pull request #313 from XX-net/master

fix memory size bug
miguelfreitas
miguelfreitas 10 years ago
parent
commit
66394b047f
  1. 2
      src/rpcmining.cpp

2
src/rpcmining.cpp

@ -19,7 +19,7 @@ void InitRPCMining() @@ -19,7 +19,7 @@ void InitRPCMining()
{
// getwork/getblocktemplate mining rewards paid here:
salt.resize(4);
RAND_bytes(salt.data(), sizeof(salt));
RAND_bytes(salt.data(), 4);
}
void ShutdownRPCMining()

Loading…
Cancel
Save