Skip to content

Commit 2ad3987

Browse files
committed
Clarify ambiguous comment in persist methods
1 parent 6d038ad commit 2ad3987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/util/persist.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ impl<'a, A: KVStorePersister, Signer: Sign, M: Deref, T: Deref, K: Deref, F: Der
7171
impl<ChannelSigner: Sign, K: KVStorePersister> Persist<ChannelSigner> for K {
7272
// TODO: We really need a way for the persister to inform the user that its time to crash/shut
7373
// down once these start returning failure.
74-
// A PermanentFailure implies we need to shut down since we're force-closing channels without
75-
// even broadcasting!
74+
// A PermanentFailure implies we should probably just shut down the node since we're
75+
// force-closing channels without even broadcasting!
7676

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

0 commit comments

Comments
 (0)