]> git.bitcoin.ninja Git - rust-lightning/commit
Correct `funding_transaction_generated` err msg and fix fuzz check
authorMatt Corallo <git@bluematt.me>
Wed, 15 Feb 2023 01:23:20 +0000 (01:23 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 21 Feb 2023 18:54:52 +0000 (18:54 +0000)
commit10e06331f3f392a5dd38f20601f728a072870d69
tree47f14bc29facf5a9a6375ab3ef4439627a9b5f7b
parentca1b8bdf6028227db9bb5665d1b3935eac26fc06
Correct `funding_transaction_generated` err msg and fix fuzz check

This fixes new errors in `full_stack_target` pointed out by
Chaincode's generous fuzzing infrastructure. Specifically, there's
no reason to check the error message in the
`funding_transaction_generated` return value - it can only return
a failure if the channel has closed since the funding transaction
was generated (which is fine) or if the signer refuses to sign
(which can't happen in fuzzing).
fuzz/src/full_stack.rs
lightning/src/ln/channelmanager.rs