aboutsummaryrefslogtreecommitdiff
path: root/pkg/instance/experimental.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/instance/experimental.go')
-rw-r--r--pkg/instance/experimental.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/instance/experimental.go b/pkg/instance/experimental.go
index ab81ada..5dab870 100644
--- a/pkg/instance/experimental.go
+++ b/pkg/instance/experimental.go
@@ -22,7 +22,7 @@ const algEd25519 byte = 1
// Sigsum API. Documentation can be found in the transparency-dev repo.
func getCheckpoint(ctx context.Context, i *Instance, w http.ResponseWriter, r *http.Request) (int, error) {
glog.V(3).Info("handling get-checkpoint request")
- sth, err := i.Stateman.ToSign(ctx)
+ sth, err := i.Stateman.ToCosignTreeHead(ctx)
if err != nil {
return http.StatusInternalServerError, err
}