generate taler_signatures.ml from GANA database
This commit is contained in:
parent
117f7075bb
commit
e25f11331c
9 changed files with 427 additions and 158 deletions
|
|
@ -5,7 +5,7 @@ let config_data =
|
|||
match Assets_crunch.read path with
|
||||
| None -> fail "static file not found: `%s`" path
|
||||
| Some data ->
|
||||
let v = Parse_data.parse data in
|
||||
let v = Config_section.parse data in
|
||||
v
|
||||
|
||||
module Exchange = struct
|
||||
|
|
@ -109,7 +109,7 @@ module Currency = struct
|
|||
fractional_trailing_zero_digits=
|
||||
get "fractional_trailing_zero_digits" |> int;
|
||||
alt_unit_names=
|
||||
get "alt_unit_names" |> Alt_unit_names.decode |> Parse_config.unwrap_res;
|
||||
get "alt_unit_names" |> Alt_unit_names.decode |> Parse_config.unwrap;
|
||||
}
|
||||
|
||||
let all_currencies = List.map parse_currency currency_sections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue