]> git.bitcoin.ninja Git - rust-lightning/commit
Move commit_upfront_shutdown_pubkey to ChannelHandshakeConfig
authorWilmer Paulino <wilmer.paulino@gmail.com>
Wed, 8 Jun 2022 22:40:58 +0000 (15:40 -0700)
committerWilmer Paulino <wilmer.paulino@gmail.com>
Thu, 9 Jun 2022 23:18:01 +0000 (16:18 -0700)
commit8027c2ff06c790016b1a9e1d67af065c44d2995d
treee34dbc538e3533e37293b2432a2fa64276e85049
parent850ca13fbca5418c08c52313213acb675a73ad00
Move commit_upfront_shutdown_pubkey to ChannelHandshakeConfig

As like the previous commit, `commit_upfront_shutdown_pubkey` is another
static field that cannot change after the initial channel handshake. We
therefore move it out from its existing place in `ChannelConfig`.
lightning/src/ln/chanmon_update_fail_tests.rs
lightning/src/ln/channel.rs
lightning/src/ln/shutdown_tests.rs
lightning/src/util/config.rs