projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix and test update_add_htlc but disconnect pre-commitment_signed
[rust-lightning]
/
src
/
ln
/
channel.rs
diff --git
a/src/ln/channel.rs
b/src/ln/channel.rs
index b8a89fe5928299503ce8d094d035f1c47253ff1a..e8ec23d9451e837a3e2acde52d0de194ed283f91 100644
(file)
--- a/
src/ln/channel.rs
+++ b/
src/ln/channel.rs
@@
-2044,6
+2044,7
@@
impl Channel {
},
}
});
+ self.next_remote_htlc_id -= inbound_drop_count;
for htlc in self.pending_outbound_htlcs.iter_mut() {
if let OutboundHTLCState::RemoteRemoved = htlc.state {