Test
This commit is contained in:
@@ -183,7 +183,7 @@ std::string FaucetGet(uint64_t txfee)
|
|||||||
decode_hex(buf,len,(char *)rawhex.c_str());
|
decode_hex(buf,len,(char *)rawhex.c_str());
|
||||||
vcalc_sha256(0,hash,buf,len);
|
vcalc_sha256(0,hash,buf,len);
|
||||||
for (j=0; j<32; j++)
|
for (j=0; j<32; j++)
|
||||||
fprintf(stderr,"%02x",hash[i]);
|
fprintf(stderr,"%02x",hash[j]);
|
||||||
fprintf(stderr," ");
|
fprintf(stderr," ");
|
||||||
if ( hash[0] == 0 && hash[31] == 0 )
|
if ( hash[0] == 0 && hash[31] == 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user