From df8455a97090cb06e26a881162b86887c4dfcca5 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 25 Jan 2022 01:06:54 +0100 Subject: instance: Use the new tree-head endpoints --- pkg/instance/experimental.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/instance/experimental.go') 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 } -- cgit v1.2.3