fix currency bin encoding
This commit is contained in:
parent
ab82a357a9
commit
760e6de1fb
8 changed files with 89 additions and 20 deletions
|
|
@ -38,7 +38,7 @@ end = struct
|
|||
type t = B32.t
|
||||
|
||||
let hash s =
|
||||
let open Digestif.SHA256 in
|
||||
let open Digestif.SHA512 in
|
||||
s |> digest_string |> to_raw_string
|
||||
|
||||
let jsont = Jsont.of_of_string ~kind:"HashCode" B32.decode ~enc:B32.encode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue