use correct denomination hash
This commit is contained in:
parent
9c87aa63ea
commit
3485d83a3e
14 changed files with 142 additions and 61 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue