mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
onchaind: don't hand redundant commit_num to handle_unknown_commitment.
It's a global. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
7d666e9bfd
commit
77ed0c280b
@ -3585,7 +3585,6 @@ static void update_ledger_unknown(const struct bitcoin_txid *txid,
|
||||
|
||||
static void handle_unknown_commitment(const struct tx_parts *tx,
|
||||
u32 tx_blockheight,
|
||||
u64 commit_num,
|
||||
const struct pubkey *possible_remote_per_commitment_point,
|
||||
const struct basepoints basepoints[NUM_SIDES],
|
||||
const struct htlc_stub *htlcs,
|
||||
@ -3912,7 +3911,6 @@ int main(int argc, char *argv[])
|
||||
open_is_replay);
|
||||
} else {
|
||||
handle_unknown_commitment(tx, tx_blockheight,
|
||||
commit_num,
|
||||
possible_remote_per_commitment_point,
|
||||
basepoints,
|
||||
htlcs,
|
||||
|
Loading…
Reference in New Issue
Block a user