diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-03-13 21:44:28 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-03-31 10:30:12 +0200 |
commit | eaa04194b979635a3d8590a8409084159d1e6576 (patch) | |
tree | 10d3ca87db07365f4167e56b3f0897cbe691fdc6 /contrib/shell/git-utils.bash | |
parent | 235b04259414fd708c31bbe0cab28ba09bcd25f1 (diff) | |
download | bitcoin-eaa04194b979635a3d8590a8409084159d1e6576.tar.xz |
contrib: fix signet miner (sighash mismatch)
PSBT signing was changed to use SIGHASH_DEFAULT by default in #22514.
The signet miner script sets the sighash type of the created PSBT to
SIGHASH_ALL, hence this leads to a sighash mismatch when the
`walletprocesspsbt` RPC is called. Fix this by explicitly passing the
correct sighash type.
Note that the same change was needed in one of our functional tests,
see commit d3992669df826899a3de78a77a366dab46028026.
Reported by gruve-p.
Github-Pull: bitcoin#24553
Rebased-From: 12cc020
Diffstat (limited to 'contrib/shell/git-utils.bash')
0 files changed, 0 insertions, 0 deletions