We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 585655f + f3bbd4a commit 80a1745Copy full SHA for 80a1745
src/builder.rs
@@ -1438,8 +1438,8 @@ fn build_with_store_internal(
1438
// Give ChannelMonitors to ChainMonitor
1439
for (_blockhash, channel_monitor) in channel_monitors.into_iter() {
1440
let channel_id = channel_monitor.channel_id();
1441
- chain_monitor.watch_channel(channel_id, channel_monitor).map_err(|e| {
1442
- log_error!(logger, "Failed to watch channel monitor: {:?}", e);
+ chain_monitor.load_existing_monitor(channel_id, channel_monitor).map_err(|e| {
+ log_error!(logger, "Failed to load channel monitor: {:?}", e);
1443
BuildError::InvalidChannelMonitor
1444
})?;
1445
}
0 commit comments