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
According to the consensus validation rules, we must supple Null values for issunace/reissuance instead of explicit zero. However, the current code for tries does something else:
two separate if else statements for issunace/re-issuance.
force_unblinded is always used. There is no way to do explicit issuances in the current pset workflow.
This calculation causes walletprocesspsbt to create signatures that do not validate because the sighash is calculated incorrectly.
The text was updated successfully, but these errors were encountered:
sanket1729
changed the title
pset: PartiallySignedTransaction::GetUnsignedTx does work correctly when issuance assets have null values
pset: PartiallySignedTransaction::GetUnsignedTx does not work correctly when issuance assets have null values
Aug 23, 2022
According to the consensus validation rules, we must supple Null values for issunace/reissuance instead of explicit zero. However, the current code for tries does something else:
elements/src/psbt.cpp
Lines 126 to 132 in c80e926
Fix would be to have
This calculation causes
walletprocesspsbt
to create signatures that do not validate because the sighash is calculated incorrectly.The text was updated successfully, but these errors were encountered: