This commit is contained in:
parent
c992e1d402
commit
729a5b1df1
3 changed files with 229 additions and 260 deletions
|
|
@ -78,7 +78,7 @@ let () =
|
|||
let () =
|
||||
let open Binary_formats.WithdrawConfirmationPS in
|
||||
let str64 = String.init 64 (fun i -> Char.unsafe_chr (i + 1)) in
|
||||
let dummy_t = { h_planchets= { v= { v= str64 } }; noreveal_index= 0_l } in
|
||||
let dummy_t = { h_planchets= { hash= str64 }; noreveal_index= 0_l } in
|
||||
let size = Bin.size_of_value bin dummy_t |> Option.get in
|
||||
assert (size = 76);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue