Skip to content

Commit 9dbda27

Browse files
committed
Made sighash_type explicit
The change of default `sighash` type in `bitcoind` was a minor breaking change.
1 parent 076df0d commit 9dbda27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bitcoind/interface.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,11 @@ impl BitcoinD {
726726
pub fn sign_psbt(&self, psbt: &Psbt) -> Result<(bool, Psbt), BitcoindError> {
727727
let res = self.make_cpfp_request(
728728
"walletprocesspsbt",
729-
&params!(Json::String(base64::encode(&encode::serialize(psbt)))),
729+
&params!(
730+
Json::String(base64::encode(&encode::serialize(psbt))),
731+
Json::Bool(true),
732+
Json::String("ALL".to_string()),
733+
),
730734
)?;
731735
let complete = res
732736
.get("complete")

0 commit comments

Comments
 (0)