diff options
author | Orfeas Litos <orfeas.litos@hotmail.com> | 2021-11-10 23:40:20 +0100 |
---|---|---|
committer | Orfeas Litos <orfeas.litos@hotmail.com> | 2021-11-10 23:40:20 +0100 |
commit | 897e6458ce921c6bbbf6b5891e3371dd21670a7c (patch) | |
tree | a0cf90170b6eb4002c57af9757f44008c3ce3506 /bip-0119.mediawiki | |
parent | 1cab3e87f3b2f07e2ba9ff3d4d7ed904e78ec774 (diff) |
Cast 8-vector of u32 to u256
Diffstat (limited to 'bip-0119.mediawiki')
-rw-r--r-- | bip-0119.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0119.mediawiki b/bip-0119.mediawiki index b407fab..8a71e3e 100644 --- a/bip-0119.mediawiki +++ b/bip-0119.mediawiki @@ -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(stack.back())) { + if (!checker.CheckDefaultCheckTemplateVerifyHash(u256(stack.back()))) { return set_error(serror, SCRIPT_ERR_TEMPLATE_MISMATCH); } break; |