diff options
author | Linus Nordberg <linus@nordberg.se> | 2022-04-29 15:21:33 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@mullvad.net> | 2022-04-29 22:07:01 +0200 |
commit | 60131023dd5b3d28175d4cc5f7519086793482dd (patch) | |
tree | 5685b8b8c3342fb24e1ae8c033267a2c27ba6ce4 /pkg/requests/requests_test.go | |
parent | 8db1fdd6b372dab210a77f3c0d48d9deebfe5da3 (diff) |
change 'preimage' to 'message'
Issue: #40
Diffstat (limited to 'pkg/requests/requests_test.go')
-rw-r--r-- | pkg/requests/requests_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/requests/requests_test.go b/pkg/requests/requests_test.go index c8104ff..d6aaf6c 100644 --- a/pkg/requests/requests_test.go +++ b/pkg/requests/requests_test.go @@ -221,7 +221,7 @@ func validLeaf(t *testing.T) *Leaf { t.Helper() return &Leaf{ ShardHint: 1, - Preimage: *newHashBufferInc(t), + Message: *newHashBufferInc(t), Signature: *newSigBufferInc(t), VerificationKey: *newPubBufferInc(t), DomainHint: "example.com", @@ -232,7 +232,7 @@ func validLeafASCII(t *testing.T) string { t.Helper() return fmt.Sprintf("%s=%d\n%s=%x\n%s=%x\n%s=%x\n%s=%s\n", "shard_hint", 1, - "preimage", newHashBufferInc(t)[:], + "message", newHashBufferInc(t)[:], "signature", newSigBufferInc(t)[:], "verification_key", newPubBufferInc(t)[:], "domain_hint", "example.com", |