Skip to content

Commit 0876dba

Browse files
committed
Merge fa809af into merged_master (Elements PR ElementsProject#1141)
2 parents 0ae24ee + fa809af commit 0876dba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/script/interpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3173,7 +3173,7 @@ static bool VerifyWitnessProgram(const CScriptWitness& witness, int witversion,
31733173
}
31743174
execdata.m_tapleaf_hash_init = true;
31753175
if ((control[0] & TAPROOT_LEAF_MASK) == TAPROOT_LEAF_TAPSCRIPT) {
3176-
// Tapscript (leaf version 0xc0)
3176+
// Tapscript (leaf version 0xc4)
31773177
execdata.m_validation_weight_left = ::GetSerializeSize(witness.stack, PROTOCOL_VERSION) + VALIDATION_WEIGHT_OFFSET;
31783178
execdata.m_validation_weight_left_init = true;
31793179
return ExecuteWitnessScript(stack, exec_script, flags, SigVersion::TAPSCRIPT, checker, execdata, serror);

0 commit comments

Comments
 (0)