mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 13:21:37 +00:00
p2p/enode: fix lint formatting
This commit is contained in:
parent
d7d1473df5
commit
dbdf02906e
1 changed files with 0 additions and 2 deletions
|
|
@ -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)]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue