]> git.bitcoin.ninja Git - rust-lightning/commit
Use scid_from_parts in Channel::block_connected
authorbmancini55 <bmancini@gmail.com>
Tue, 9 Mar 2021 20:42:45 +0000 (15:42 -0500)
committerbmancini55 <bmancini@gmail.com>
Tue, 9 Mar 2021 20:42:45 +0000 (15:42 -0500)
commitdd0bb256940d885a1e8dfd3ae8be6e5ea648944e
tree58845127b317fee9d3db85fdb06be45b2fc12ee6
parentd5fd8d96e107ed2f60cd79a48465f948258ae243
Use scid_from_parts in Channel::block_connected

Refactors validation and short_channel_id construction to use
the new scid_from_parts function.
lightning/src/ln/channel.rs