aboutsummaryrefslogtreecommitdiff
path: root/pkg/types
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/types')
-rw-r--r--pkg/types/types.go2
-rw-r--r--pkg/types/types_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/types/types.go b/pkg/types/types.go
index 9ca7db8..96e2b18 100644
--- a/pkg/types/types.go
+++ b/pkg/types/types.go
@@ -18,7 +18,7 @@ const (
EndpointGetTreeHeadLatest = Endpoint("get-tree-head-latest")
EndpointGetTreeHeadToSign = Endpoint("get-tree-head-to-sign")
EndpointGetTreeHeadCosigned = Endpoint("get-tree-head-cosigned")
- EndpointGetProofByHash = Endpoint("get-proof-by-hash")
+ EndpointGetInclusionProof = Endpoint("get-inclusion-proof")
EndpointGetConsistencyProof = Endpoint("get-consistency-proof")
EndpointGetLeaves = Endpoint("get-leaves")
)
diff --git a/pkg/types/types_test.go b/pkg/types/types_test.go
index a71d14b..d823ea2 100644
--- a/pkg/types/types_test.go
+++ b/pkg/types/types_test.go
@@ -35,8 +35,8 @@ func TestEndpointPath(t *testing.T) {
want: "example.com/log/sigsum/v0/get-consistency-proof",
},
{
- endpoint: EndpointGetProofByHash,
- want: "example.com/log/sigsum/v0/get-proof-by-hash",
+ endpoint: EndpointGetInclusionProof,
+ want: "example.com/log/sigsum/v0/get-inclusion-proof",
},
{
endpoint: EndpointGetLeaves,