|
|
@ -137,8 +137,6 @@ void kmd_transactionvout(struct iguana_info *coin,struct kmd_transactionhh *ptr, |
|
|
|
{ |
|
|
|
tx->vouts[vout].spendtxid = spendtxid; |
|
|
|
tx->vouts[vout].spendvini = spendvini; |
|
|
|
//if ( bits256_nonz(spendtxid) != 0 && spendvini >= 0 )
|
|
|
|
// ptr->ptrs[(vout<<1) + 1] = kmd_transaction(coin,spendtxid);
|
|
|
|
tx->vouts[vout].amount = amount; |
|
|
|
memcpy(tx->vouts[vout].type_rmd160,type_rmd160,21); |
|
|
|
if ( (addr= _kmd_address(coin,type_rmd160)) == 0 ) |
|
|
@ -209,6 +207,8 @@ FILE *kmd_txidinit(struct iguana_info *coin) |
|
|
|
printf("INIT %s.[%d] ht.%d %u\n",bits256_str(str,T.txid),T.numvouts,T.height,T.timestamp); |
|
|
|
if ( (ptr= kmd_transactionadd(coin,tx,T.numvouts)) != 0 ) |
|
|
|
{ |
|
|
|
if ( ptr != kmd_transaction(coin,tx->txid) ) |
|
|
|
printf("ERROR: %p != %p for ht.%d\n",ptr,kmd_transaction(coin,tx->txid),tx->height); |
|
|
|
ptr->fpos = lastpos; |
|
|
|
for (i=0; i<T.numvouts; i++) |
|
|
|
{ |
|
|
|