script

Representations and fast conversions for Script (docs.ppad.tech/script).
git clone git://git.ppad.tech/script.git
Log | Files | Refs | README | LICENSE

commit 7d930447bfbe228232cb32dedc5ee875dda6bdf6
parent 383576507498b2ad41a423cb9ce5fe2ca70c37d4
Author: Jared Tobin <jared@jtobin.io>
Date:   Tue, 21 Jan 2025 09:52:49 +0400

lib: errant brace

Diffstat:
Mlib/Bitcoin/Prim/Script.hs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Bitcoin/Prim/Script.hs b/lib/Bitcoin/Prim/Script.hs @@ -152,7 +152,7 @@ to_script terms = -- -- >>> let Just script = from_base16 "515293" -- >>> from_script script --- [OP_1, OP_2, OP_ADD} +-- [OP_1, OP_2, OP_ADD] from_script :: Script -> [Term] from_script (Script bs) = go 0 where !l = BA.sizeofByteArray bs