Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
I run bitcoin-qt in regtest mode. The wallet is created blank and I've imported descriptors to it. I have a total of 30 BTC in two outputs. I create a new transaction and save it as a PSBT for offline signing. When I try to read this file into bitcoin-qt again, it shows an error dialog with the message:
Unable to decode PSBT
CDataStream::read(): end of data: iostream error
I've used this exact scenario successfully before, but with different wallets and with a different regtest blockchain.
I've packed the full directory of my setup so that you can test what's going on. It was a bit too big to upload here so I put in on Google Drive: https://drive.google.com/file/d/1ILaYwsXuj3nG62UbGIh1k7q91fzcSbSG/view?usp=sharing
I've tested this tar.tz on another laptop with the same result, so you should be able to reproduce it by following the instructions below.
Expected behaviour
The PSBT should be loaded with no issues.
Steps to reproduce
Using that tar.gz file provided in this issue:
unpack the tar.gz file, This will create a folder called online cd online ./bitcoin-24.0.1/bin/bitcoin-qt -datadir=.bitcoin
Go to the Send tab and enter the address bcrt1qm24myvzr3fv53q6cx3aghfp44x4r6let80sn5j and amount 25 BTC Click "Create Unsigned" Clich "Create Unsigned" Enter a file name and Click "Save"
The PSBT is now saved on disk
In the same Bitcoin Core instance open the PSBT by:
File -> Load PSBT From File Browse to the PSBT file you saved and click Open
An error box appears saying:
Unable to decode PSBT CDataStream::read(): end of data: iostream error
Relevant log output
No response
How did you obtain Bitcoin Core
Pre-built binaries
What version of Bitcoin Core are you using?
24.0.1
Operating system and version
Debian 11
Machine specifications
No response