diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-03-25 16:36:27 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-03-28 19:10:49 +0200 |
commit | 8634892aa6d5d59f73e50652dbe750df263853a3 (patch) | |
tree | b979039d1c63107969f21ef5ce20dc9e827f2ab4 /pkg/requests/requests.go | |
parent | ace5e7c406dee2ca533d41f5271de0be7403a139 (diff) |
sign tree heads and leaves with SSHSIG
Diffstat (limited to 'pkg/requests/requests.go')
-rw-r--r-- | pkg/requests/requests.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/requests/requests.go b/pkg/requests/requests.go index 26a5213..4d09101 100644 --- a/pkg/requests/requests.go +++ b/pkg/requests/requests.go @@ -8,7 +8,8 @@ import ( ) type Leaf struct { - types.Statement + ShardHint uint64 `ascii:"shard_hint"` + Preimage types.Hash `ascii:"preimage"` Signature types.Signature `ascii:"signature"` VerificationKey types.PublicKey `ascii:"verification_key"` DomainHint string `ascii:"domain_hint"` |