use correct denomination hash

This commit is contained in:
swrup 2026-02-27 23:36:05 +01:00
parent b1de214881
commit b8574ca52d
14 changed files with 142 additions and 61 deletions

View file

@ -113,6 +113,6 @@ let bin =
let open Bin in
record make_exn
|+ field beint64 (fun t -> t.value)
|+ field beint32 (fun t -> t.fraction)
|+ field beint32 (fun t -> Int32.mul t.fraction 1_000_000_l)
|+ field (bytes currency_len) (fun t -> pad_currency_string t.currency)
|> sealr