Move `Channel::get_update_time_counter` and some other methods
authorDuncan Dean <git@dunxen.dev>
Wed, 7 Jun 2023 09:57:35 +0000 (11:57 +0200)
committerDuncan Dean <git@dunxen.dev>
Wed, 14 Jun 2023 11:42:24 +0000 (13:42 +0200)
commit1ee0a66d21cfd3696ed93938ba08281a0c342741
tree2cbf2d417cb09c4409b25e33dd505ed5cedff6c8
parent1503ebbc0e0916d17f10b2730c39fb266404a457
Move `Channel::get_update_time_counter` 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 these methods through 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