We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1806c31 commit 590549fCopy full SHA for 590549f
src/event.rs
@@ -933,12 +933,16 @@ where
933
}
934
},
935
LdkEvent::SpendableOutputs { outputs, channel_id } => {
936
- self.output_sweeper
+ return match self
937
+ .output_sweeper
938
.track_spendable_outputs(outputs, channel_id, true, None)
- .unwrap_or_else(|_| {
939
+ {
940
+ Ok(_) => Ok(()),
941
+ Err(_) => {
942
log_error!(self.logger, "Failed to track spendable outputs");
- panic!("Failed to track spendable outputs");
- });
943
+ Err(ReplayEvent())
944
+ },
945
+ };
946
947
LdkEvent::OpenChannelRequest {
948
temporary_channel_id,
0 commit comments