diff --git a/repo/repo.go b/repo/repo.go index 084995e3..a0e2aa22 100644 --- a/repo/repo.go +++ b/repo/repo.go @@ -141,7 +141,7 @@ func NewRepo(ctx context.Context, did string, bs cbor.IpldBlockstore) *Repo { mst: t, sc: sc, dirty: true, - clk: &clk, + clk: clk, } } @@ -163,7 +163,7 @@ func OpenRepo(ctx context.Context, bs cbor.IpldBlockstore, root cid.Cid) (*Repo, bs: bs, cst: cst, repoCid: root, - clk: &clk, + clk: clk, }, nil } diff --git a/repomgr/repomgr.go b/repomgr/repomgr.go index 59061c0f..9edf5c09 100644 --- a/repomgr/repomgr.go +++ b/repomgr/repomgr.go @@ -48,7 +48,7 @@ func NewRepoManager(cs carstore.CarStore, kmgr KeyManager) *RepoManager { kmgr: kmgr, log: slog.Default().With("system", "repomgr"), noArchive: noArchive, - clk: &clk, + clk: clk, } }