|
|
@ -115,6 +115,7 @@ int32_t kmd_transactionvin(struct iguana_info *coin,bits256 spendtxid,int32_t vi |
|
|
|
fseek(coin->kmd_txidfp,ptr->fpos + sizeof(*ptr->tx) + sizeof(*ptr->tx->vouts)*vout,SEEK_SET); |
|
|
|
fwrite(&ptr->tx->vouts[vout],1,sizeof(ptr->tx->vouts[vout]),coin->kmd_txidfp); |
|
|
|
fseek(coin->kmd_txidfp,savepos,SEEK_SET); |
|
|
|
fflush(coin->kmd_txidfp); |
|
|
|
} |
|
|
|
} |
|
|
|
return(0); |
|
|
|