diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index d8d5bac883..9542f37468 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -536,7 +536,7 @@ ds['.']['icvp'] = icvp ds['.']['vSrn'] = ('long', 1) ds['Applications']['Iloc'] = (370, 156) -ds['Bitcoin-Qt.app']['Iloc'] = (128, 156) +ds['Elements-Qt.app']['Iloc'] = (128, 156) ds.flush() ds.close() diff --git a/src/blindpsbt.cpp b/src/blindpsbt.cpp index 358ac9103f..a1b21e5dd0 100644 --- a/src/blindpsbt.cpp +++ b/src/blindpsbt.cpp @@ -476,6 +476,9 @@ BlindingStatus BlindPSBT(PartiallySignedTransaction& psbt, std::map MAX_MONEY diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp index 266e625d56..ce08a5544a 100644 --- a/src/script/interpreter.cpp +++ b/src/script/interpreter.cpp @@ -3173,7 +3173,7 @@ static bool VerifyWitnessProgram(const CScriptWitness& witness, int witversion, } execdata.m_tapleaf_hash_init = true; if ((control[0] & TAPROOT_LEAF_MASK) == TAPROOT_LEAF_TAPSCRIPT) { - // Tapscript (leaf version 0xc0) + // Tapscript (leaf version 0xc4) execdata.m_validation_weight_left = ::GetSerializeSize(witness.stack, PROTOCOL_VERSION) + VALIDATION_WEIGHT_OFFSET; execdata.m_validation_weight_left_init = true; return ExecuteWitnessScript(stack, exec_script, flags, SigVersion::TAPSCRIPT, checker, execdata, serror); diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 6366e5e213..47e936274c 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2048,11 +2048,15 @@ TransactionError CWallet::SignPSBT(PartiallySignedTransaction& psbtx, bool& comp txin.assetIssuance.nAmount = input.m_issuance_value_commitment; } else if (input.m_issuance_value) { txin.assetIssuance.nAmount.SetToAmount(*input.m_issuance_value); + } else { + txin.assetIssuance.nAmount.SetNull(); } if (!input.m_issuance_inflation_keys_commitment.IsNull()) { txin.assetIssuance.nInflationKeys = input.m_issuance_inflation_keys_commitment; } else if (input.m_issuance_inflation_keys_amount) { txin.assetIssuance.nInflationKeys.SetToAmount(*input.m_issuance_inflation_keys_amount); + } else { + txin.assetIssuance.nInflationKeys.SetNull(); } if (!input.m_issuance_rangeproof.empty()) { txinwit.vchIssuanceAmountRangeproof = input.m_issuance_rangeproof;