This commit is contained in:
parent
209e4f6408
commit
084c9e6f4b
1 changed files with 30 additions and 1 deletions
|
|
@ -138,8 +138,37 @@ let keys content =
|
|||
in
|
||||
|
||||
(* validate global-fees *)
|
||||
let* () =
|
||||
v.global_fees
|
||||
|> list_iter
|
||||
(fun
|
||||
GlobalFees.
|
||||
{
|
||||
start_date;
|
||||
end_date;
|
||||
history_fee;
|
||||
account_fee;
|
||||
purse_fee;
|
||||
history_expiration;
|
||||
purse_account_limit;
|
||||
purse_timeout;
|
||||
master_sig;
|
||||
}
|
||||
->
|
||||
let open Signatures.GlobalFees in
|
||||
verify v.master_public_key master_sig
|
||||
{
|
||||
start_date;
|
||||
end_date;
|
||||
purse_timeout;
|
||||
history_expiration;
|
||||
history_fee;
|
||||
account_fee;
|
||||
purse_fee;
|
||||
purse_account_limit;
|
||||
})
|
||||
in
|
||||
|
||||
(* validate list_issue_date *)
|
||||
(* validate auditors *)
|
||||
Ok ()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue