From 9112368ff859564d15aa8c2f8e3dbf289966726f Mon Sep 17 00:00:00 2001 From: tinnus-napbus <77721746+tinnus-napbus@users.noreply.github.com> Date: Thu, 24 Jun 2021 05:01:32 +1200 Subject: [PATCH] bip158: change swp to rev in +to-range Co-authored-by: fang --- pkg/arvo/lib/bip/b158.hoon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/arvo/lib/bip/b158.hoon b/pkg/arvo/lib/bip/b158.hoon index e6b5d05ba..07b020482 100644 --- a/pkg/arvo/lib/bip/b158.hoon +++ b/pkg/arvo/lib/bip/b158.hoon @@ -157,7 +157,7 @@ ++ to-range |= [item=byts f=@ k=byts] ^- @ - (rsh [0 64] (mul f +:(flim:sha (siphash k item)))) + (rsh [0 64] (mul f (rev 3 (siphash k item)))) :: +set-construct: return sorted hashes of scriptpubkeys :: ++ set-construct