This commit is contained in:
Orfeas Litos committed 2021-11-11 23:27:52 +01:00
1 parent 897e6458ce
commit 1839f43779
1 file changed
+1 -1
+1 -1
View File
@@ -145,7 +145,7 @@ specification for the semantics of OP_CHECKTEMPLATEVERIFY.
// If the argument was not 32 bytes, treat as OP_NOP4:
switch (stack.back().size()) {
case 32:
if (!checker.CheckDefaultCheckTemplateVerifyHash(u256(stack.back()))) {
if (!checker.CheckDefaultCheckTemplateVerifyHash(uint256(stack.back()))) {
return set_error(serror, SCRIPT_ERR_TEMPLATE_MISMATCH);
}
break;