]> git.bitcoin.ninja Git - rust-lightning/commit
Require user cooperative close payout scripts to be Segwit
authorMatt Corallo <git@bluematt.me>
Wed, 1 Sep 2021 20:22:49 +0000 (20:22 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 27 Sep 2021 18:19:51 +0000 (18:19 +0000)
commit1b70d9ee8f47df33fe70d7396e2a023feaea6be5
treef2cc38ed0471614187858646bcca28954da880d8
parentc43db960628e142756bc5b796a7b71c201dc0ef7
Require user cooperative close payout scripts to be Segwit

There is little reason for users to be paying out to non-Segwit
scripts when closing channels at this point. Given we will soon, in
rare cases, force-close during shutdown when a counterparty closes
to a non-Segwit script, we should also require it of our own users.
lightning/src/ln/channel.rs
lightning/src/ln/script.rs