Tweak PSBT signing for bindings compatibility
authorMatt Corallo <git@bluematt.me>
Wed, 19 Jul 2023 19:37:21 +0000 (19:37 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 20 Jul 2023 21:43:52 +0000 (21:43 +0000)
commit0b9c5204afead590569453d4a910125cda8f27e3
tree737db610e18b3cdbae6aad7810804f2066d29132
parenta287234366a5cb571237068d19a34a154fa06dd9
Tweak PSBT signing for bindings compatibility

In bindings we can't practically pass a mutable PSBT, and instead
need to pass an owned transaction and have the sign method return a
signed copy. We do this here for all build modes as its not a
material API change for Rust users.
lightning/src/sign/mod.rs