]> git.bitcoin.ninja Git - rust-lightning/commitdiff
f revert?
authorMatt Corallo <git@bluematt.me>
Tue, 14 Nov 2023 22:19:25 +0000 (22:19 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 14 Nov 2023 22:19:25 +0000 (22:19 +0000)
lightning/src/chain/channelmonitor.rs

index a80540df5fac7446f8570da326117591bad1c4a3..0a0e3ac4a18be5cddb12eeb43d9fc80670170426 100644 (file)
@@ -2136,7 +2136,6 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
                                        inbound_claiming_htlc_rounded_msat += rounded_value_msat;
                                        if htlc.transaction_output_index.is_some() {
                                                claimable_inbound_htlc_value_sat += htlc.amount_msat / 1000;
-                                               claimable_inbound_htlc_value_msat += htlc.amount_msat;
                                        }
                                } else {
                                        inbound_htlc_rounded_msat += rounded_value_msat;