File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1493,11 +1493,11 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
14931493 /// This is used to provide payment preimage(s) out-of-band during startup without updating the
14941494 /// off-chain state with a new commitment transaction.
14951495 ///
1496- /// It is used only for legacy pending payments on upgrade, and the flow that uses it assumes
1497- /// that this [`ChannelMonitor`] is persisted prior to the [`ChannelManager`] being persisted
1498- /// (as the state necessary to call this method again is removed from the [`ChannelManager`]
1499- /// and thus a persistence inversion would imply we do not get the preimage back into this
1500- /// [`ChannelMonitor`] on startup).
1496+ /// It is used only for legacy (created prior to LDK 0.1) pending payments on upgrade, and the
1497+ /// flow that uses it assumes that this [`ChannelMonitor`] is persisted prior to the
1498+ /// [`ChannelManager`] being persisted (as the state necessary to call this method again is
1499+ /// removed from the [`ChannelManager`] and thus a persistence inversion would imply we do not
1500+ /// get the preimage back into this [`ChannelMonitor`] on startup).
15011501 ///
15021502 /// [`ChannelManager`]: crate::ln::channelmanager::ChannelManager
15031503 pub ( crate ) fn provide_payment_preimage_unsafe_legacy < B : Deref , F : Deref , L : Deref > (
You can’t perform that action at this time.
0 commit comments