You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if peer_state.in_flight_monitor_updates.insert(funding_txo, chan_in_flight_updates).is_some(){
8382
+
log_error!(args.logger,"Duplicate in-flight monitor update set for the same channel!");
8383
+
returnErr(DecodeError::InvalidValue);
8384
+
}
8385
+
}else{
8386
+
log_error!(args.logger,"A ChannelMonitor is missing even though we have in-flight updates for it! This indicates a potentially-critical violation of the chain::Watch API!");
8387
+
log_error!(args.logger," The ChannelMonitor for channel {} is missing.",
8388
+
log_bytes!(funding_txo.to_channel_id()));
8389
+
log_error!(args.logger," The chain::Watch API *requires* that monitors are persisted durably before returning,");
8390
+
log_error!(args.logger," client applications must ensure that ChannelMonitor data is always available and the latest to avoid funds loss!");
8391
+
log_error!(args.logger," Without the latest ChannelMonitor we cannot continue without risking funds.");
8392
+
log_error!(args.logger," Please ensure the chain::Watch API requirements are met and file a bug report at https://github.com/lightningdevkit/rust-lightning");
0 commit comments