While testing #29675 my final combined PSBT ended up having an invalid taproot_key_path_sig
, which I found out by logging the sigdata.complete
value at the end of ProduceSignature
.
We should of course never produce such an invalid value and I’ll continue digging for the root cause. But external applications could do this too.
Currently analyzepsbt
will give a useless "next": "updater"
status when this happens.
We should instead display an error.
Not sure what the best approach would be.