From dbdf02906e28c77f527ebc3c04022ec2f0ae5a99 Mon Sep 17 00:00:00 2001 From: CodeByAnkita Date: Fri, 13 Mar 2026 12:02:07 +0700 Subject: [PATCH] p2p/enode: fix lint formatting --- p2p/enode/nodedb.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/p2p/enode/nodedb.go b/p2p/enode/nodedb.go index 2f4fc0ab6f..fb94174170 100644 --- a/p2p/enode/nodedb.go +++ b/p2p/enode/nodedb.go @@ -107,7 +107,6 @@ func newPersistentDB(path string) (*DB, error) { currentVer := make([]byte, binary.MaxVarintLen64) currentVer = currentVer[:binary.PutVarint(currentVer, int64(dbVersion))] - blob, closer, err := db.Get([]byte(dbVersionKey)) switch err { case pebble.ErrNotFound: @@ -212,7 +211,6 @@ func (db *DB) fetchInt64(key []byte) int64 { // storeInt64 stores an integer in the given key. func (db *DB) storeInt64(key []byte, n int64) error { - blob := make([]byte, binary.MaxVarintLen64) blob = blob[:binary.PutVarint(blob, n)]