Move `Channel::build_holder_transaction_keys` and some other methods
authorDuncan Dean <git@dunxen.dev>
Wed, 7 Jun 2023 10:26:53 +0000 (12:26 +0200)
committerDuncan Dean <git@dunxen.dev>
Wed, 14 Jun 2023 14:04:14 +0000 (16:04 +0200)
commit0d739eeb22c8de9fe9bdf9d27223d134eb6dcf9c
treea326de56bb0762ab621fd65ed5580019d1442e98
parent497aeb006f6cc004a66a660222010546af96075a
Move `Channel::build_holder_transaction_keys` and some other methods

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.

This commit also uses the `context` field where needed for compilation
and tests to pass due to the above change.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs