onchaind: remove unnecessary num_outputs arg from onchain_unwatch_tx

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-01-29 12:22:12 +10:30 committed by Christian Decker
parent 64bdee6b6e
commit 2fbe3161a0
2 changed files with 1 additions and 2 deletions

View File

@ -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));
}

View File

@ -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

1 #include <common/htlc_wire.h>
62 onchain_known_preimage,,preimage,struct preimage # onchaind->master: We discovered HTLC preimage
63 # onchaind->master: We discovered HTLC preimage onchain_extracted_preimage,5008
64 onchain_extracted_preimage,5008 onchain_extracted_preimage,,preimage,struct preimage
onchain_extracted_preimage,,preimage,struct preimage
65 # onchaind->master: this HTLC was missing from commit tx.
66 onchain_missing_htlc_output,5009
67 onchain_missing_htlc_output,,htlc,struct htlc_stub