We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6976ab8 commit d164cbdCopy full SHA for d164cbd
lightning/src/util/persist.rs
@@ -777,7 +777,7 @@ where
777
// If there is an error while reading old monitor, we skip clean up.
778
maybe_old_monitor.map(|(_, ref old_monitor)| {
779
let start = old_monitor.get_latest_update_id();
780
- // We never persist an update with the leagacy closed update_id
+ // We never persist an update with the legacy closed update_id
781
let end = cmp::min(
782
start.saturating_add(self.maximum_pending_updates),
783
LEGACY_CLOSED_CHANNEL_UPDATE_ID - 1,
0 commit comments