]> git.bitcoin.ninja Git - rust-lightning/commit
Fix persister/chain_monitor lifetimes.
authorArik Sosman <git@arik.io>
Tue, 22 Aug 2023 02:24:49 +0000 (19:24 -0700)
committerArik Sosman <git@arik.io>
Tue, 22 Aug 2023 21:23:55 +0000 (14:23 -0700)
commit43a9215b796b4e3bf4d65845adf4c906e9ce8eeb
tree6c94fc2007437fd1a51a7a93d4c8b488234527a6
parent2b898a3385d226f961ef045560e94e64195bbd4f
Fix persister/chain_monitor lifetimes.

The persister and chain_monitor variables must
be declared before the node channel manager is
initialized to avoid out of order deallocation.
lightning/src/ln/functional_tests.rs