diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-03-23 09:12:26 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2022-03-23 09:12:26 +0100 |
commit | f7d2c65559a5149e4923554695a99540abdcc56f (patch) | |
tree | 28a4c17471844b193938b83fe6e0b66a9d86f064 /pkg | |
parent | 8da382069f42f6d88d3abf914dd38d7e40a845bc (diff) |
follow SSHSIG changes in lib
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/client/submitter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/client/submitter.go b/pkg/client/submitter.go index f03e66a..21c9258 100644 --- a/pkg/client/submitter.go +++ b/pkg/client/submitter.go @@ -73,9 +73,9 @@ func (sc *SubmitClient) AddLeaves(_ context.Context, leaves []requests.Leaf) ([] bundles = nil for _, leaf := range leaves { l := types.Leaf{ - Statement: types.Statement{ + SignedData: types.SignedData{ ShardHint: leaf.ShardHint, - Checksum: leaf.Checksum, + Checksum: *types.HashFn(leaf.Preimage[:]), }, Signature: leaf.Signature, KeyHash: *types.HashFn(leaf.VerificationKey[:]), |