<!-- This issue tracker is only for technical issues related to Bitcoin Core. General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com. For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/. If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue! -->
<!-- Describe the issue -->
bitcoin-cli finalizepsbt cHNidP8BAHECAAAAAVQXYcBrEVxdFSiKjgN7apFrbALHH6FE+a/880gdWg+0AQAAAAD9////AqCGAQAAAAAAFgAUqWr4NqXfkkV9VKlah8i6LLHjtuw1QBIAAAAAABYAFPo+csLEb7S4W2Kt/U0a3ionBpKyAAAAAAABAHECAAAAAV9eHHMoKiY4WZNqMSOSuHihwGtXU4pdsieAoRJrgqPEAAAAAAD9////AlIn5wIAAAAAFgAUhHfCQ3vybJC7XRfYliLjXjWjS7pixxMAAAAAABYAFFTgWpDKPYC4Ef677073UzsbnjyoAAAAAAEBH2LHEwAAAAAAFgAUVOBakMo9gLgR/rvvTvdTOxuePKgiAgPxa1S5laFXdrX3va8PjzRmVE1Okh4VkeM5l3FBQb60pUcwRAIgM/2kG4Q04ilDCzgDCaRlE1g0kicet1QlkvS87FAkDo4CIFOVDAEaVIEuv58lnPza6gARh10LHbe4F4r9vMVpY8oXASIGA/FrVLmVoVd2tfe9rw+PNGZUTU6SHhWR4zmXcUFBvrSlGMJwW35UAACAAQAAgAAAAIAAAAAABwAAAAAAIgIDIiGKJQ7NYfjNy1cDnOVbUazTFnvFOjUWIG1/kh0CsukYwnBbflQAAIABAACAAAAAgAEAAAARAAAAAA==
Does not finalize the psbt, it returns:
result = {
complete = 0;
psbt = "cHNidP8BAHECAAAAAVQXYcBrEVxdFSiKjgN7apFrbALHH6FE+a/880gdWg+0AQAAAAD9////AqCGAQAAAAAAFgAUqWr4NqXfkkV9VKlah8i6LLHjtuw1QBIAAAAAABYAFPo+csLEb7S4W2Kt/U0a3ionBpKyAAAAAAABAHECAAAAAV9eHHMoKiY4WZNqMSOSuHihwGtXU4pdsieAoRJrgqPEAAAAAAD9////AlIn5wIAAAAAFgAUhHfCQ3vybJC7XRfYliLjXjWjS7pixxMAAAAAABYAFFTgWpDKPYC4Ef677073UzsbnjyoAAAAAAEBH2LHEwAAAAAAFgAUVOBakMo9gLgR/rvvTvdTOxuePKgiAgPxa1S5laFXdrX3va8PjzRmVE1Okh4VkeM5l3FBQb60pUcwRAIgM/2kG4Q04ilDCzgDCaRlE1g0kicet1QlkvS87FAkDo4CIFOVDAEaVIEuv58lnPza6gARh10LHbe4F4r9vMVpY8oXASIGA/FrVLmVoVd2tfe9rw+PNGZUTU6SHhWR4zmXcUFBvrSlGMJwW35UAACAAQAAgAAAAIAAAAAABwAAAAAAIgIDIiGKJQ7NYfjNy1cDnOVbUazTFnvFOjUWIG1/kh0CsukYwnBbflQAAIABAACAAAAAgAEAAAARAAAAAA==";
}
There is only one input and there is one signature for that input, it is a single signature psbt. Using Bitcoin Core 0.20.0 works fine.
<!--- What behavior did you expect? -->
To return a signed raw transaction.
Actual behavior
See above.
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
To reproduce
See above.
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
I can reproduce this every single time, totally breaks my single sig wallet 😱
System information
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
0.20.1, I got it by downloading the tarball from bitcoincore.org, for macOS.
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
macbook