We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d973e36 commit 38065e1Copy full SHA for 38065e1
1 file changed
src/block_proof.cpp
@@ -43,7 +43,7 @@ static bool CheckProofGeneric(const CBlockHeader& block, const uint32_t max_bloc
43
| SCRIPT_VERIFY_SIGPUSHONLY // Witness is push-only
44
| SCRIPT_VERIFY_LOW_S // Stop easiest signature fiddling
45
| SCRIPT_VERIFY_WITNESS // Witness and to enforce cleanstack
46
- | (is_dyna ? 0 : SCRIPT_NO_SIGHASH_BYTE); // Non-dynafed blocks do not have sighash byte
+ | (is_dyna ? SCRIPT_VERIFY_NONE : SCRIPT_NO_SIGHASH_BYTE); // Non-dynafed blocks do not have sighash byte
47
return GenericVerifyScript(scriptSig, witness, challenge, proof_flags, block);
48
}
49
0 commit comments