This commit is contained in:
jl777
2019-07-06 03:05:04 -11:00
parent 64915ad6d2
commit 6db0b511b9
2 changed files with 3 additions and 3 deletions

View File

@@ -365,7 +365,7 @@ void NSPV_broadcast_purge(struct NSPV_broadcastresp *ptr)
uint256 NSPV_doublesha256(uint8_t *data,int32_t datalen)
{
bits256 _hash; uint256 hash;
bits256 _hash; uint256 hash; int32_t i;
_hash = bits256_doublesha256(0,data,datalen);
for (i=0; i<32; i++)
((uint8_t *)&hash)[i] = _hash.bytes[31 - i];