|
@ -651,8 +651,8 @@ cJSON *LP_transactioninit(struct iguana_info *coin,bits256 txid,int32_t iter,cJS |
|
|
tx->outpoints[i].value = LP_value_extract(vout,0); |
|
|
tx->outpoints[i].value = LP_value_extract(vout,0); |
|
|
tx->outpoints[i].interest = SATOSHIDEN * jdouble(vout,"interest"); |
|
|
tx->outpoints[i].interest = SATOSHIDEN * jdouble(vout,"interest"); |
|
|
LP_destaddr(tx->outpoints[i].coinaddr,vout); |
|
|
LP_destaddr(tx->outpoints[i].coinaddr,vout); |
|
|
printf("from transaction init\n"); |
|
|
//printf("from transaction init\n");
|
|
|
LP_address_utxoadd(coin,tx->outpoints[i].coinaddr,txid,i,tx->outpoints[i].value,height,-1); |
|
|
//LP_address_utxoadd(coin,tx->outpoints[i].coinaddr,txid,i,tx->outpoints[i].value,height,-1);
|
|
|
} |
|
|
} |
|
|
//printf("numvouts.%d\n",numvouts);
|
|
|
//printf("numvouts.%d\n",numvouts);
|
|
|
} |
|
|
} |
|
|