]> git.bitcoin.ninja Git - rust-lightning/commit
Change get_per_commitment_point to return result type
authorAlec Chen <alecchendev@gmail.com>
Wed, 5 Jun 2024 22:40:38 +0000 (17:40 -0500)
committerAlec Chen <alecchendev@gmail.com>
Mon, 15 Jul 2024 21:28:17 +0000 (14:28 -0700)
commit1f7f3a366c9e62cff5a5025724b5b508255a89d7
tree22660cfe2ca80a3f5337b3ceebc519ea25d428fe
parent1fa67d943463b20f989be91bf5c26d69c2a4e1de
Change get_per_commitment_point to return result type

Includes simple changes to test util signers and tests, as well as
handling the error case for get_per_commitment_point in
HolderCommitmentPoint. This leaves a couple `.expect`s in places
that will be addressed in a separate PR for handling funding.
lightning/src/ln/channel.rs
lightning/src/ln/functional_tests.rs
lightning/src/sign/mod.rs
lightning/src/util/test_channel_signer.rs