projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c02b6a3
)
Fix indentation in ChannelMonitor
author
Matt Corallo
<git@bluematt.me>
Wed, 25 Aug 2021 19:36:43 +0000
(19:36 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 15 Sep 2021 18:07:34 +0000
(18:07 +0000)
lightning/src/chain/channelmonitor.rs
patch
|
blob
|
history
diff --git
a/lightning/src/chain/channelmonitor.rs
b/lightning/src/chain/channelmonitor.rs
index 1b5a56d59e1e836f78f9920a5748308179b4a378..b2ed3d99de7f39e26c590cecf5e75401d84f2921 100644
(file)
--- a/
lightning/src/chain/channelmonitor.rs
+++ b/
lightning/src/chain/channelmonitor.rs
@@
-2460,7
+2460,7
@@
impl<Signer: Sign> ChannelMonitorImpl<Signer> {
// resolve the source HTLC with the original sender.
payment_data = Some(((*source).clone(), htlc_output.payment_hash, htlc_output.amount_msat));
} else if !$holder_tx {
-
check_htlc_valid_counterparty!(self.current_counterparty_commitment_txid, htlc_output);
+ check_htlc_valid_counterparty!(self.current_counterparty_commitment_txid, htlc_output);
if payment_data.is_none() {
check_htlc_valid_counterparty!(self.prev_counterparty_commitment_txid, htlc_output);
}