Move `Channel::opt_anchors` to `ChannelContext` impl & move some util fns
authorDuncan Dean <git@dunxen.dev>
Wed, 7 Jun 2023 09:29:44 +0000 (11:29 +0200)
committerDuncan Dean <git@dunxen.dev>
Wed, 14 Jun 2023 11:42:23 +0000 (13:42 +0200)
commit1503ebbc0e0916d17f10b2730c39fb266404a457
treeb93b63e14e6b999e361d5a64b2721e9b7cc1bb63
parent883afb38d47cb5d8d8721a356302b1e41b7c476c
Move `Channel::opt_anchors` to `ChannelContext` impl & move some util fns

This is one of a series of commits to make sure methods are moved by
chunks so they are easily reviewable in diffs. Unfortunately they are
not purely move-only as fields need to be updated for things to
compile, but these should be quite clear.
lightning/src/ln/channel.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs