mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
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:
committed by
Christian Decker
parent
0388fe6db4
commit
fd8a716695
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user