diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-09-13 14:31:34 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-09-13 14:31:34 +0200 |
commit | f34351da0731a11316e2266d2aadd62554a5b867 (patch) | |
tree | 588a32ab99204db86d66bf6ece829b6a15bbbbea /pkg/instance/instance.go | |
parent | 5632bd67ed38625a8c8c372302aa7b19d163512e (diff) |
s/get-proof-by-hash/get-inclusion-proof
Diffstat (limited to 'pkg/instance/instance.go')
-rw-r--r-- | pkg/instance/instance.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go index 87a0c36..809349c 100644 --- a/pkg/instance/instance.go +++ b/pkg/instance/instance.go @@ -53,7 +53,7 @@ func (i *Instance) Handlers() []Handler { Handler{Instance: i, Handler: getTreeHeadToSign, Endpoint: types.EndpointGetTreeHeadToSign, Method: http.MethodGet}, Handler{Instance: i, Handler: getTreeHeadCosigned, Endpoint: types.EndpointGetTreeHeadCosigned, Method: http.MethodGet}, Handler{Instance: i, Handler: getConsistencyProof, Endpoint: types.EndpointGetConsistencyProof, Method: http.MethodPost}, - Handler{Instance: i, Handler: getInclusionProof, Endpoint: types.EndpointGetProofByHash, Method: http.MethodPost}, + Handler{Instance: i, Handler: getInclusionProof, Endpoint: types.EndpointGetInclusionProof, Method: http.MethodPost}, Handler{Instance: i, Handler: getLeaves, Endpoint: types.EndpointGetLeaves, Method: http.MethodPost}, } } |