Skip to content

Commit ace48df

Browse files
committed
f update docs
1 parent 6d125ed commit ace48df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/util/persist.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ impl<'a, A: KVStore, M: Deref, T: Deref, ES: Deref, NS: Deref, SP: Deref, F: Der
174174
impl<ChannelSigner: WriteableEcdsaChannelSigner, K: KVStore> Persist<ChannelSigner> for K {
175175
// TODO: We really need a way for the persister to inform the user that its time to crash/shut
176176
// down once these start returning failure.
177-
// A PermanentFailure implies we should probably just shut down the node since we're
178-
// force-closing channels without even broadcasting!
177+
// An InProgress result implies we should probably just shut down the node since we're not
178+
// retrying persistence!
179179

180180
fn persist_new_channel(&self, funding_txo: OutPoint, monitor: &ChannelMonitor<ChannelSigner>, _update_id: MonitorUpdateId) -> chain::ChannelMonitorUpdateStatus {
181181
let key = format!("{}_{}", funding_txo.txid.to_hex(), funding_txo.index);

0 commit comments

Comments
 (0)