This commit is contained in:
jl777
2019-01-29 03:01:40 -11:00
parent 124ad45bc8
commit 08ee5412fa

View File

@@ -537,7 +537,9 @@ UniValue sudoku_txidinfo(uint64_t txfee,struct CCcontract_info *cp,cJSON *params
char str[65],*txidstr; uint256 txid;
if ( (txidstr= jprint(params,0)) != 0 )
{
printf("params -> (%s)\n",txidstr);
if ( txidstr[0] == '"' )
txidstr++;
//printf("params -> (%s)\n",txidstr);
decode_hex((uint8_t *)&txid,32,txidstr);
printf("txid.(%s) <- %s\n",txid.GetHex().c_str(),txidstr);
}