fix memory size bug

This commit is contained in:
Michael.X 2015-01-31 22:10:06 -04:00
parent 11cd6a47b1
commit 02086a0f01

View File

@ -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()