Browse Source

fix

blackjok3r
blackjok3r 6 years ago
parent
commit
f84e0350b7
  1. 2
      iguana/dpow/dpow_rpc.c

2
iguana/dpow/dpow_rpc.c

@ -546,7 +546,7 @@ int32_t dpow_txconfirms(struct supernet_info *myinfo,struct iguana_info *coin,bi
cJSON *txobj; int32_t confirms = 0, ret = 0; cJSON *txobj; int32_t confirms = 0, ret = 0;
if ( (txobj= dpow_gettransaction(myinfo, coin, txid)) != 0 ) if ( (txobj= dpow_gettransaction(myinfo, coin, txid)) != 0 )
{ {
rawtx= jstr(txobj, "hex")); rawtx= jstr(txobj, "hex");
if ( (confirms= juint(txobj, "confirmations")) != 0 ) if ( (confirms= juint(txobj, "confirmations")) != 0 )
{ {
ret = confirms; ret = confirms;

Loading…
Cancel
Save