diff --git a/internal/db/kvs/pogreb/pogreb.go b/internal/db/kvs/pogreb/pogreb.go index ad83358c86..9e287c3336 100644 --- a/internal/db/kvs/pogreb/pogreb.go +++ b/internal/db/kvs/pogreb/pogreb.go @@ -72,7 +72,7 @@ func (d *db) Get(key string) ([]byte, bool, error) { } // If val is nil, it means that there is no value associated with key, so false is returned. if val == nil { - return val, false, nil + return nil, false, nil } return val, true, nil }