aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/requests/requests.go2
-rw-r--r--pkg/requests/requests_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/requests/requests.go b/pkg/requests/requests.go
index 94b3130..7d7437d 100644
--- a/pkg/requests/requests.go
+++ b/pkg/requests/requests.go
@@ -15,7 +15,7 @@ type Leaf struct {
ShardHint uint64 `ascii:"shard_hint"`
Message types.Hash `ascii:"message"`
Signature types.Signature `ascii:"signature"`
- VerificationKey types.PublicKey `ascii:"verification_key"`
+ PublicKey types.PublicKey `ascii:"public_key"`
DomainHint string `ascii:"domain_hint"`
}
diff --git a/pkg/requests/requests_test.go b/pkg/requests/requests_test.go
index d6aaf6c..e439774 100644
--- a/pkg/requests/requests_test.go
+++ b/pkg/requests/requests_test.go
@@ -223,7 +223,7 @@ func validLeaf(t *testing.T) *Leaf {
ShardHint: 1,
Message: *newHashBufferInc(t),
Signature: *newSigBufferInc(t),
- VerificationKey: *newPubBufferInc(t),
+ PublicKey: *newPubBufferInc(t),
DomainHint: "example.com",
}
}
@@ -234,7 +234,7 @@ func validLeafASCII(t *testing.T) string {
"shard_hint", 1,
"message", newHashBufferInc(t)[:],
"signature", newSigBufferInc(t)[:],
- "verification_key", newPubBufferInc(t)[:],
+ "public_key", newPubBufferInc(t)[:],
"domain_hint", "example.com",
)
}