Merge pull request #5033 from tinnus-napbus/bip158-fix-swp

bip158: change swp to rev in +to-range
This commit is contained in:
fang 2021-06-24 10:32:44 +02:00 committed by GitHub
commit 5b893bcf70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@
++ to-range
|= [item=byts f=@ k=byts]
^- @
(rsh [0 64] (mul f (swp 3 dat:(siphash k item))))
(rsh [0 64] (mul f (rev 3 (siphash k item))))
:: +set-construct: return sorted hashes of scriptpubkeys
::
++ set-construct