mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
Commit AUXPOW SegFault Fix
This commit is contained in:
parent
d2f0f424ee
commit
abc134ced9
1 changed files with 5 additions and 2 deletions
|
@ -59,8 +59,11 @@ vector<string> coind_aux_hashlist(YAAMP_COIND_AUX **auxs, int size)
|
||||||
char hash_be[1024];
|
char hash_be[1024];
|
||||||
memset(hash_be, 0, 1024);
|
memset(hash_be, 0, 1024);
|
||||||
|
|
||||||
string_be(auxs[i]->hash, hash_be);
|
if(auxs[i]->hash != NULL)
|
||||||
hashlist.push_back(hash_be);
|
{
|
||||||
|
string_be(auxs[i]->hash, hash_be);
|
||||||
|
hashlist.push_back(hash_be);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
hashlist.push_back("0000000000000000000000000000000000000000000000000000000000000000");
|
hashlist.push_back("0000000000000000000000000000000000000000000000000000000000000000");
|
||||||
|
|
Loading…
Add table
Reference in a new issue