From e8fd4401cb23740d5e0e5dc2a43ddb3e31a8a76e Mon Sep 17 00:00:00 2001 From: Greg Sanders Date: Wed, 8 Nov 2023 15:02:46 -0500 Subject: [PATCH] Add EPHEMERAL_ANCHOR_SCRIPT to test utils --- test/functional/test_framework/script.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/test_framework/script.py b/test/functional/test_framework/script.py index f4628bf4af9ed..c14aff6766d95 100644 --- a/test/functional/test_framework/script.py +++ b/test/functional/test_framework/script.py @@ -926,3 +926,5 @@ def taproot_construct(pubkey, scripts=None, treat_internal_as_infinity=False): def is_op_success(o): return o == 0x50 or o == 0x62 or o == 0x89 or o == 0x8a or o == 0x8d or o == 0x8e or (o >= 0x7e and o <= 0x81) or (o >= 0x83 and o <= 0x86) or (o >= 0x95 and o <= 0x99) or (o >= 0xbb and o <= 0xfe) + +EPHEMERAL_ANCHOR_SCRIPT = CScript([OP_TRUE, b'\x4e\x73'])