Skip to content

Commit ff8c5db

Browse files
committed
Fix misspelling, s/and/but/.
1 parent a70aa52 commit ff8c5db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8638,19 +8638,19 @@ where
86388638
log_error!(args.logger, "A ChannelManager is stale compared to the current ChannelMonitor!");
86398639
log_error!(args.logger, " The channel will be force-closed and the latest commitment transaction from the ChannelMonitor broadcast.");
86408640
if channel.context.get_latest_monitor_update_id() < monitor.get_latest_update_id() {
8641-
log_error!(args.logger, " The ChannelMonitor for channel {} is at update_id {} and the ChannelManager is at update_id {}.",
8641+
log_error!(args.logger, " The ChannelMonitor for channel {} is at update_id {} but the ChannelManager is at update_id {}.",
86428642
&channel.context.channel_id(), monitor.get_latest_update_id(), channel.context.get_latest_monitor_update_id());
86438643
}
86448644
if channel.get_cur_holder_commitment_transaction_number() > monitor.get_cur_holder_commitment_number() {
8645-
log_error!(args.logger, " The ChannelMonitor for channel {} is at holder commitment number {} and the ChannelManager is at holder commitment {}.",
8645+
log_error!(args.logger, " The ChannelMonitor for channel {} is at holder commitment number {} but the ChannelManager is at holder commitment number {}.",
86468646
&channel.context.channel_id(), monitor.get_cur_holder_commitment_number(), channel.get_cur_holder_commitment_transaction_number());
86478647
}
86488648
if channel.get_revoked_counterparty_commitment_transaction_number() > monitor.get_min_seen_secret() {
86498649
log_error!(args.logger, " The ChannelMonitor for channel {} is at revoked counterparty transaction number {} but the ChannelManager is at revoked counterparty transaction number {}.",
86508650
&channel.context.channel_id(), monitor.get_min_seen_secret(), channel.get_revoked_counterparty_commitment_transaction_number());
86518651
}
86528652
if channel.get_cur_counterparty_commitment_transaction_number() > monitor.get_cur_counterparty_commitment_number() {
8653-
log_error!(args.logger, " The ChannelMonitor for channel {} is at counterparty commitment transaction number {} but the ChannelManager is at counterparty commtiment transaction number {}.",
8653+
log_error!(args.logger, " The ChannelMonitor for channel {} is at counterparty commitment transaction number {} but the ChannelManager is at counterparty commitment transaction number {}.",
86548654
&channel.context.channel_id(), monitor.get_cur_counterparty_commitment_number(), channel.get_cur_counterparty_commitment_transaction_number());
86558655
}
86568656
let (monitor_update, mut new_failed_htlcs) = channel.context.force_shutdown(true);

0 commit comments

Comments
 (0)