Correct lifetimes on `_reload_node`
authorMatt Corallo <git@bluematt.me>
Tue, 15 Aug 2023 19:17:31 +0000 (19:17 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 15 Aug 2023 19:17:31 +0000 (19:17 +0000)
commit417e86679241624857c9e3258f1481bce3428b3e
tree4e781482432f96a71ea67c677da62f988dd1ed7d
parenta24626b919bf5ec5206ab65746fcee274cd589ec
Correct lifetimes on `_reload_node`

For some reason an unrelated PR caused all our tests with
`reload_node` calls to fail to compile. This is due, in part, to
the lifetimes on `reload_node` implying that the new and original
`ChannelManager` (or some of the structs they reference) must live
for the same lifetime.

This fixes that issue by correcting the lifetimes to be consistent
across `Node` and `_reload_node`.
lightning/src/ln/functional_test_utils.rs