Use AChannelManager in BackgroundProcessor
authorJeffrey Czyz <jkczyz@gmail.com>
Sat, 23 Mar 2024 21:28:54 +0000 (16:28 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Sat, 23 Mar 2024 22:02:28 +0000 (17:02 -0500)
commitd29e2ba9494725c641ce3f92eb89f70620cb3370
tree189deff3ca934bc464c80f810735950ec9b4be1c
parent82a13b52cce47361416a0e806350baeb2fae3f00
Use AChannelManager in BackgroundProcessor

Replace instance of ChannelManager in BackgroundProcessor and in
Persister with AChannelManager. This reduces the number of type
parameters need in those types, which would need to be repeated in an
async version of Persister.
lightning-background-processor/src/lib.rs
lightning/src/util/persist.rs