p2p/enode: fix lint formatting

This commit is contained in:
CodeByAnkita 2026-03-13 12:02:07 +07:00
parent d7d1473df5
commit dbdf02906e

View file

@ -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)]