From 974ba314a29fa35f2ed662b9357fa9cd701e444d Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 21 Sep 2023 20:21:13 +0000 Subject: [PATCH] Refer to an "outage" over a "timeout", for when failure happens Timeouts may be worth retrying, but an outage is a more general term which obviously cannot be retried. --- lightning/src/chain/chainmonitor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/chain/chainmonitor.rs b/lightning/src/chain/chainmonitor.rs index a49b3b426..60d50bf0a 100644 --- a/lightning/src/chain/chainmonitor.rs +++ b/lightning/src/chain/chainmonitor.rs @@ -98,7 +98,7 @@ impl MonitorUpdateId { /// If at some point no further progress can be made towards persisting the pending updates, the /// node should simply shut down. /// -/// * If the persistence has failed and cannot be retried further (e.g. because of some timeout), +/// * If the persistence has failed and cannot be retried further (e.g. because of an outage), /// [`ChannelMonitorUpdateStatus::UnrecoverableError`] can be used, though this will result in /// an immediate panic and future operations in LDK generally failing. /// -- 2.39.5