From: Matt Corallo Date: Tue, 14 Nov 2023 22:04:21 +0000 (+0000) Subject: f X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1cb566c9e8b5d7ac2b5bebaf548b9c176ed34080;p=rust-lightning f --- diff --git a/lightning/src/ln/monitor_tests.rs b/lightning/src/ln/monitor_tests.rs index 7dfc7fba8..aa8b39cb6 100644 --- a/lightning/src/ln/monitor_tests.rs +++ b/lightning/src/ln/monitor_tests.rs @@ -184,8 +184,8 @@ fn do_chanmon_claim_value_coop_close(anchors: bool) { let commitment_tx_fee = chan_feerate * chan_utils::commitment_tx_base_weight(&channel_type_features) / 1000; let anchor_outputs_value = if anchors { channel::ANCHOR_OUTPUT_VALUE_SATOSHI * 2 } else { 0 }; assert_eq!(vec![Balance::ClaimableOnChannelClose { - amount_satoshis: 1_000_000 - 1_000 - commitment_fee - anchor_outputs_value, - transaction_fee_satoshis: commitment_fee, + amount_satoshis: 1_000_000 - 1_000 - commitment_tx_fee - anchor_outputs_value, + transaction_fee_satoshis: commitment_tx_fee, }], nodes[0].chain_monitor.chain_monitor.get_monitor(funding_outpoint).unwrap().get_claimable_balances()); assert_eq!(vec![Balance::ClaimableOnChannelClose { amount_satoshis: 1_000, transaction_fee_satoshis: 0 }],