Commit AUXPOW SegFault Fix

This commit is contained in:
root 2016-07-07 19:52:01 +02:00 committed by Tanguy Pruvot
parent d2f0f424ee
commit abc134ced9

View file

@ -59,9 +59,12 @@ vector<string> coind_aux_hashlist(YAAMP_COIND_AUX **auxs, int size)
char hash_be[1024];
memset(hash_be, 0, 1024);
if(auxs[i]->hash != NULL)
{
string_be(auxs[i]->hash, hash_be);
hashlist.push_back(hash_be);
}
}
else
hashlist.push_back("0000000000000000000000000000000000000000000000000000000000000000");
}