You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a multisig wallet (2-of-2), create a tx, and signed the tx in Electrum, and exported the raw PSBT transaction to clipboard.
Next, I pasted the raw PSBT transaction in Specter Desktop (Send > Import) in the dedicated box and clicked on 'import transaction' and get the error "Exception: 'dict object' has no attribute 'witness_utxo'" (see below). So this means, I cannot sign the transaction first in Electrum and send it to somebody else so sign in with Specter.
I tried it the other way (first sign with Specter, then export the PSBT tx, and then import it by Electrum and sign) and that works fine, but that means the Specter needs to sign always first, which is not very practical.
Seems to be related to spesmilo/electrum#6429 which has been fixed in the meantime. Which version of electrum did you use for that? Maybe an upgrade helps?
Until now we have been only putting PSBT_IN_NON_WITNESS_UTXO (="UTXO", full tx)
in segwit witness v0 txins, as signers wanted the full tx anyway due to
bip-143 sighash issue [0], and as WITNESS_UTXO can be calculated from UTXO.
My reading of bip-174 is that either behaviour is correct, but
achow101 said bip-174 expects PSBT_IN_WITNESS_UTXO for segwit inputs.
Regardless, including both fields does not increase the tx size too much
(UTXO can be very large ofc but we were already including that, WIT_UTXO is small).
This also might increase compatibility with some other software - I've found
some issues where this might have been the culprit [1][2][3].
closes#8039
related:
[0] #6198
[1] cryptoadvance/specter-desktop#868
[2] cryptoadvance/specter-desktop#1046
[3] cryptoadvance/specter-desktop#1544
I created a multisig wallet (2-of-2), create a tx, and signed the tx in Electrum, and exported the raw PSBT transaction to clipboard.
Next, I pasted the raw PSBT transaction in Specter Desktop (Send > Import) in the dedicated box and clicked on 'import transaction' and get the error "Exception: 'dict object' has no attribute 'witness_utxo'" (see below). So this means, I cannot sign the transaction first in Electrum and send it to somebody else so sign in with Specter.
I tried it the other way (first sign with Specter, then export the PSBT tx, and then import it by Electrum and sign) and that works fine, but that means the Specter needs to sign always first, which is not very practical.
Setup:
image
The text was updated successfully, but these errors were encountered: