Skip to content

Commit df8ab26

Browse files
committed
f rename var
1 parent e7a486f commit df8ab26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,7 +1995,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
19951995
// matter what. Sadly, to push a new monitor update which flies before others
19961996
// already queued, we have to insert it into the pending queue and update the
19971997
// update_ids of all the following monitors.
1998-
let unblocked_monitor_pos = if release_cs_monitor && msg.is_some() {
1998+
let unblocked_update_pos = if release_cs_monitor && msg.is_some() {
19991999
let mut additional_update = self.build_commitment_no_status_check(logger);
20002000
// build_commitment_no_status_check may bump latest_monitor_id but we want them
20012001
// to be strictly increasing by one, so decrement it here.
@@ -2028,7 +2028,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
20282028
};
20292029
self.monitor_updating_paused(false, msg.is_some(), false, Vec::new(), Vec::new(), Vec::new());
20302030
UpdateFulfillCommitFetch::NewClaim {
2031-
monitor_update: &self.pending_monitor_updates.get(unblocked_monitor_pos)
2031+
monitor_update: &self.pending_monitor_updates.get(unblocked_update_pos)
20322032
.expect("We just pushed the monitor update").update,
20332033
htlc_value_msat,
20342034
}

0 commit comments

Comments
 (0)