Clarify the contexts in which persist_new_channel may be called 2021-10-persist-mon-blocks
authorMatt Corallo <git@bluematt.me>
Tue, 19 Oct 2021 21:49:03 +0000 (21:49 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 20 Oct 2021 00:06:18 +0000 (00:06 +0000)
commit6fb5bd36a7b83184029b599d7a07838e84cbaa52
tree780bf7f150352d69b792b83ff2f637fb4d5d78ab
parente6bc2b541e8bccab7d72c8fa6828c5675a1a7431
Clarify the contexts in which persist_new_channel may be called

Its somewhat confusing that `persist_new_channel` is called on
startup for an existing channel in common deployments, so we call
it out explicitly.
lightning/src/chain/chainmonitor.rs