Fix bench lifetimes.
authorArik Sosman <git@arik.io>
Thu, 17 Aug 2023 21:19:32 +0000 (14:19 -0700)
committerArik Sosman <git@arik.io>
Tue, 22 Aug 2023 21:25:23 +0000 (14:25 -0700)
commitd256a2b329c0493f85b02901d257e1e45d5ef7d1
treea8bac42bc2533a4e859811858236a559e6ed48f3
parent5e6bc761914957454807cf449bf3b9b6cff392aa
Fix bench lifetimes.

Benchmarks were failing because node config and
channel monitor configs were tied to the same
lifetime.

Introducing a separate lifetime allows to avoid
out-of-order deallocation errors.
lightning/src/ln/channelmanager.rs