+ DenominationKeyAnnouncementPS.bin
This commit is contained in:
parent
a27af0ecf1
commit
c946cb0358
5 changed files with 32 additions and 16 deletions
|
|
@ -20,3 +20,11 @@ let ptime_add_span_exn p span =
|
|||
match Ptime.add_span p span with
|
||||
| None -> Fmt.failwith "Ptime.add_span: not in the range [min;max]"
|
||||
| Some v -> v
|
||||
|
||||
(* -- *** -- *)
|
||||
|
||||
(* TODO bin
|
||||
- no [Bin.of_string] ? *)
|
||||
let bin_of_string bin s =
|
||||
let v = Bin.decode bin s (ref 0) in
|
||||
Ok v
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue