mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-19 12:51:51 +03:00
bip158: change swp to rev in +to-range
Co-authored-by: fang <github@fang.io>
This commit is contained in:
parent
84ca32aa80
commit
9112368ff8
@ -157,7 +157,7 @@
|
|||||||
++ to-range
|
++ to-range
|
||||||
|= [item=byts f=@ k=byts]
|
|= [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: return sorted hashes of scriptpubkeys
|
||||||
::
|
::
|
||||||
++ set-construct
|
++ set-construct
|
||||||
|
Loading…
Reference in New Issue
Block a user