mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-03 10:25:17 +00:00
fix memory size bug
This commit is contained in:
parent
11cd6a47b1
commit
02086a0f01
@ -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…
x
Reference in New Issue
Block a user