|
|
@ -62,7 +62,7 @@ bits256 dpow_getbestblockhash(struct supernet_info *myinfo,struct iguana_info *c |
|
|
|
return(coin->lastbesthash); |
|
|
|
if ( (retstr= bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"getbestblockhash","")) != 0 ) |
|
|
|
{ |
|
|
|
if ( strcmp(coin->symbol,"USD") == 0 ) |
|
|
|
if ( 0 && strcmp(coin->symbol,"USD") == 0 ) |
|
|
|
printf("%s getbestblockhash.(%s)\n",coin->symbol,retstr); |
|
|
|
if ( is_hexstr(retstr,0) == sizeof(blockhash)*2 ) |
|
|
|
decode_hex(blockhash.bytes,sizeof(blockhash),retstr); |
|
|
|