Browse Source

Test

pass-iguana-arg
jl777 7 years ago
parent
commit
5888c2004e
  1. 5
      iguana/exchanges/LP_nativeDEX.c

5
iguana/exchanges/LP_nativeDEX.c

@ -932,12 +932,13 @@ void verusblocks(struct iguana_info *coin)
locked = ((int32_t)script[3] << 16) + ((int32_t)script[4] << 8) + script[5]; locked = ((int32_t)script[3] << 16) + ((int32_t)script[4] << 8) + script[5];
bitcoin_address(coin->symbol,firstaddr,coin->taddr,coin->pubtype,&script[10],33); bitcoin_address(coin->symbol,firstaddr,coin->taddr,coin->pubtype,&script[10],33);
addr0 = firstaddr; addr0 = firstaddr;
} else printf("unexpected vout1.(%s) (%s).%d %.8f\n",jprint(vout1,0),hexstr!=0?hexstr:"",jdouble(vout1,"value")); } else printf("unexpected vout1.(%s) (%s).%d %.8f\n",jprint(vout1,0),hexstr!=0?hexstr:"",(int32_t)strlen(hexstr),jdouble(vout1,"value"));
} else printf("coinbase without opret (%s)\n",jprint(vouts,0),(int32_t)strlen(hexstr)); } else printf("coinbase without opret (%s)\n",jprint(vouts,0));
} }
} }
free_json(txobj); free_json(txobj);
} }
txid = jbits256i(txs,n-1);
if ( (txobj= LP_gettx("verus",coin->symbol,txid,n-1)) != 0 ) if ( (txobj= LP_gettx("verus",coin->symbol,txid,n-1)) != 0 )
{ {
if ( (vouts= jarray(&m,txobj,"vout")) != 0 ) if ( (vouts= jarray(&m,txobj,"vout")) != 0 )

Loading…
Cancel
Save