wallet: have wallet_extract_outputs take wally_tx, not bitcoin_tx

With the incursion of PSBTs, we're moving away from bitcoin_tx
This commit is contained in:
niftynei
2020-06-16 13:43:51 -05:00
committed by Christian Decker
parent 0388fe6db4
commit fd8a716695
4 changed files with 11 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ static void filter_block_txs(struct chain_topology *topo, struct block *b)
bitcoin_txid(tx, &txid);
if (txfilter_match(topo->bitcoind->ld->owned_txfilter, tx)) {
wallet_extract_owned_outputs(topo->bitcoind->ld->wallet,
tx, &b->height, &owned);
tx->wtx, &b->height, &owned);
wallet_transaction_add(topo->ld->wallet, tx, b->height,
i);
}