diff options
Diffstat (limited to 'pkg/db/trillian.go')
-rw-r--r-- | pkg/db/trillian.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/db/trillian.go b/pkg/db/trillian.go index 34501b9..97f1305 100644 --- a/pkg/db/trillian.go +++ b/pkg/db/trillian.go @@ -26,7 +26,7 @@ func (c *TrillianClient) AddLeaf(ctx context.Context, req *requests.Leaf) error leaf := types.Leaf{ Statement: types.Statement{ ShardHint: req.ShardHint, - Checksum: *types.HashFn(req.Preimage[:]), + Checksum: *types.HashFn(req.Message[:]), }, Signature: req.Signature, KeyHash: *types.HashFn(req.VerificationKey[:]), |