Consolidate Channel balance fetching into one fn returning struct 2022-04-1126-first-step
authorMatt Corallo <git@bluematt.me>
Wed, 27 Apr 2022 16:11:47 +0000 (16:11 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 27 Apr 2022 20:21:20 +0000 (20:21 +0000)
commit61629bc00ef7d64b56b3dad18d40d29c8037e068
tree1a97cb9bf34332e861b5efb5bb2ec924b391a96f
parent68ee7ef5c75489f9828692ca06fa495aa6347e1d
Consolidate Channel balance fetching into one fn returning struct

Some simple code motion to clean up how channel balances get
fetched.
lightning/src/ln/channel.rs
lightning/src/ln/channelmanager.rs