Skip to content

Commit 02c77b4

Browse files
committed
blockservice: fix symbol name in docs
1 parent d5be896 commit 02c77b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blockservice/blockservice.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ func ContextWithSession(ctx context.Context, bs BlockService) context.Context {
494494
return EmbedSessionInContext(ctx, newSession(ctx, bs))
495495
}
496496

497-
// EmbedSessionInContext is like [NewSessionContext] but it allows to embed an existing session.
497+
// EmbedSessionInContext is like [ContextWithSession] but it allows to embed an existing session.
498498
func EmbedSessionInContext(ctx context.Context, ses *Session) context.Context {
499499
// use ses.bs as a key, so if multiple blockservices use embeded sessions it gets dispatched to the matching blockservice.
500500
return context.WithValue(ctx, ses.bs, ses)

0 commit comments

Comments
 (0)