Skip to content

Commit c3010f9

Browse files
committed
f rename var
1 parent 07b3611 commit c3010f9

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
@@ -1997,7 +1997,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
19971997
// matter what. Sadly, to push a new monitor update which flies before others
19981998
// already queued, we have to insert it into the pending queue and update the
19991999
// update_ids of all the following monitors.
2000-
let unblocked_monitor_pos = if release_cs_monitor && msg.is_some() {
2000+
let unblocked_update_pos = if release_cs_monitor && msg.is_some() {
20012001
let mut additional_update = self.build_commitment_no_status_check(logger);
20022002
// build_commitment_no_status_check may bump latest_monitor_id but we want them
20032003
// to be strictly increasing by one, so decrement it here.
@@ -2030,7 +2030,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
20302030
};
20312031
self.monitor_updating_paused(false, msg.is_some(), false, Vec::new(), Vec::new(), Vec::new());
20322032
UpdateFulfillCommitFetch::NewClaim {
2033-
monitor_update: &self.pending_monitor_updates.get(unblocked_monitor_pos)
2033+
monitor_update: &self.pending_monitor_updates.get(unblocked_update_pos)
20342034
.expect("We just pushed the monitor update").update,
20352035
htlc_value_msat,
20362036
}

0 commit comments

Comments
 (0)