mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-12 05:32:22 +02:00
test: cover OP_WITHIN must pop all 3 elements
https://bitcoincore.space/src/script/interpreter.cpp#4084
This commit is contained in:
@@ -221,6 +221,7 @@
|
||||
["11 -100 100", "WITHIN", "P2SH,STRICTENC", "OK"],
|
||||
["-2147483647 -100 100", "WITHIN NOT", "P2SH,STRICTENC", "OK"],
|
||||
["2147483647 -100 100", "WITHIN NOT", "P2SH,STRICTENC", "OK"],
|
||||
["0 0 1", "WITHIN DEPTH 1 EQUALVERIFY", "P2SH,STRICTENC", "OK", "WITHIN must pop all 3 elements"],
|
||||
|
||||
["2147483647 2147483647 SUB", "0 EQUAL", "P2SH,STRICTENC", "OK"],
|
||||
["2147483647 DUP ADD", "4294967294 EQUAL", "P2SH,STRICTENC", "OK", ">32 bit EQUAL is valid"],
|
||||
|
||||
Reference in New Issue
Block a user