Skip to content

Commit 4825a96

Browse files
committed
Clarify ambiguous comment in persist methods
1 parent 09031f0 commit 4825a96

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
@@ -69,8 +69,8 @@ impl<'a, A: KVStorePersister, Signer: Sign, M: Deref, T: Deref, K: Deref, F: Der
6969
impl<ChannelSigner: Sign, K: KVStorePersister> Persist<ChannelSigner> for K {
7070
// TODO: We really need a way for the persister to inform the user that its time to crash/shut
7171
// down once these start returning failure.
72-
// A PermanentFailure implies we need to shut down since we're force-closing channels without
73-
// even broadcasting!
72+
// A PermanentFailure implies we should probably just shut down the node since we're
73+
// force-closing channels without even broadcasting!
7474

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

0 commit comments

Comments
 (0)