Browse Source

onchaind: remove unnecessary num_outputs arg from onchain_unwatch_tx

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
2fbe3161a0
  1. 2
      onchaind/onchain.c
  2. 1
      onchaind/onchain_wire.csv

2
onchaind/onchain.c

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

1
onchaind/onchain_wire.csv

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

Can't render this file because it has a wrong number of fields in line 2.
Loading…
Cancel
Save