This commit is contained in:
parent
b68a25dc9e
commit
ec61fb70f8
3 changed files with 28 additions and 54 deletions
|
|
@ -81,33 +81,7 @@ let keys content =
|
|||
|
||||
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;
|
||||
})
|
||||
|> list_iter (GlobalFees.verify_global_fees ~key:v.master_public_key)
|
||||
in
|
||||
|
||||
let* () =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue