I'm generating a PSBT using `bitcoinjs-lib` with a pseudo-signature for testing, but when I try to decode it using `bitcoin-cli decodepsbt`, I get this error:
```
error code: -22
error message:
TX decode failed Outputs provided does not match the number of outputs in transaction.: iostream error
```
Steps I Took:
1. Created a raw transaction with:
- Txid:
- Vout: 0
- Outputs: Two outputs with specified addresses and amounts.
2. Constructed the PSBT with `bitcoinjs-lib` and added a pseudo-signature.
Issue: PSBT seems fine but fails to decode in `bitcoin-cli`.
Looking For:
- Advice on where the PSBT creation might be wrong.
- Anyone who has faced a similar issue and resolved it.
- Tips on debugging or properly formatting the PSBT.
Additional Info:
- I have the public key and am working on the Bitcoin mainnet.
Thanks in advance!
```
error code: -22
error message:
TX decode failed Outputs provided does not match the number of outputs in transaction.: iostream error
```
Steps I Took:
1. Created a raw transaction with:
- Txid:
- Vout: 0
- Outputs: Two outputs with specified addresses and amounts.
2. Constructed the PSBT with `bitcoinjs-lib` and added a pseudo-signature.
Issue: PSBT seems fine but fails to decode in `bitcoin-cli`.
Looking For:
- Advice on where the PSBT creation might be wrong.
- Anyone who has faced a similar issue and resolved it.
- Tips on debugging or properly formatting the PSBT.
Additional Info:
- I have the public key and am working on the Bitcoin mainnet.
Thanks in advance!

