From a4ee59977eeb0a199b2860d1616993e306e31a21 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Thu, 17 Mar 2022 09:33:50 +0300 Subject: [PATCH] [#1247] session: Remove unused `storage.ErrNotFound` error Signed-off-by: Leonard Lyubich --- pkg/services/session/storage/storage.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/services/session/storage/storage.go b/pkg/services/session/storage/storage.go index 13c33c0d..f045e93b 100644 --- a/pkg/services/session/storage/storage.go +++ b/pkg/services/session/storage/storage.go @@ -1,7 +1,6 @@ package storage import ( - "errors" "sync" "github.com/mr-tron/base58" @@ -19,8 +18,6 @@ type TokenStore struct { tokens map[key]*PrivateToken } -var ErrNotFound = errors.New("private token not found") - // New creates, initializes and returns a new TokenStore instance. // // The elements of the instance are stored in the map.