This commit is contained in:
swrup 2026-03-03 10:09:03 +01:00
parent d0ddee257e
commit 4d39d2ff39
4 changed files with 16 additions and 12 deletions

View file

@ -1,3 +1,6 @@
(* TODO hash over canonicalized json
https://docs.taler.net/design-documents/018-contract-json.html#canonicalized-hashing
https://datatracker.ietf.org/doc/html/rfc8785 *)
open Digestif
module type S = sig

View file

@ -325,6 +325,7 @@ module Wire = struct
in
let h_credit_restrictions = Hash.Cstring.H64.hash "" in
let h_debit_restrictions = Hash.Cstring.H64.hash "" in
(* - *)
let* () =
let open Signatures.MasterWireDetails in
verify Config.master_public_key master_sig_wire