mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
onchaind: remove unnecessary num_outputs arg from onchain_unwatch_tx
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
64bdee6b6e
commit
2fbe3161a0
@ -508,7 +508,7 @@ static void unwatch_tx(const struct bitcoin_tx *tx)
|
||||
|
||||
bitcoin_txid(tx, &txid);
|
||||
|
||||
msg = towire_onchain_unwatch_tx(tx, &txid, tal_count(tx->output));
|
||||
msg = towire_onchain_unwatch_tx(tx, &txid);
|
||||
wire_sync_write(REQ_FD, take(msg));
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,6 @@ onchain_depth,,depth,u32
|
||||
# onchaind->master: We don't want to watch this tx, or its outputs
|
||||
onchain_unwatch_tx,5006
|
||||
onchain_unwatch_tx,,txid,struct bitcoin_txid
|
||||
onchain_unwatch_tx,,num_outputs,u32
|
||||
|
||||
# master->onchaind: We know HTLC preimage
|
||||
onchain_known_preimage,5007
|
||||
|
|
Loading…
Reference in New Issue
Block a user