+ test disable auditor
This commit is contained in:
parent
05cfa7a5b1
commit
f3c6424ec9
8 changed files with 90 additions and 73 deletions
|
|
@ -351,3 +351,14 @@ let exchange_partner_setup =
|
|||
wad_fee;
|
||||
})
|
||||
Caqti_type.(t7 eddsa_pub time time time_span amount master_sig string)
|
||||
|
||||
let auditor =
|
||||
let open Auditor in
|
||||
Caqti_type.custom
|
||||
~encode:(fun
|
||||
{ auditor_pub; auditor_url; auditor_name; last_change; is_active } ->
|
||||
Ok (auditor_pub, auditor_url, auditor_name, last_change, is_active))
|
||||
~decode:(fun
|
||||
(auditor_pub, auditor_url, auditor_name, last_change, is_active) ->
|
||||
Ok { auditor_pub; auditor_url; auditor_name; last_change; is_active })
|
||||
Caqti_type.(t5 eddsa_pub string string time bool)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue