diff --git a/blockservice/blockservice.go b/blockservice/blockservice.go index 353be00f8..463c866bb 100644 --- a/blockservice/blockservice.go +++ b/blockservice/blockservice.go @@ -483,7 +483,7 @@ func ContextWithSession(ctx context.Context, bs BlockService) context.Context { if grabSessionFromContext(ctx, bs) != nil { return ctx } - return EmbedSessionInContext(ctx, newSession(ctx, bs)) + return EmbedSessionInContext(ctx, NewSession(ctx, bs)) } // EmbedSessionInContext is like [ContextWithSession] but it allows to embed an existing session.