Skip to content

Commit c19e46e

Browse files
committed
fix lint
1 parent cd268d2 commit c19e46e

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

arbitrum/recordingdb.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@ func (db *RecordingKV) NewIterator(prefix []byte, start []byte) ethdb.Iterator {
106106
return nil
107107
}
108108

109-
func (db *RecordingKV) NewSnapshot() (ethdb.Snapshot, error) {
110-
// This is fine as RecordingKV doesn't support mutation
111-
return db, nil
112-
}
113-
114109
func (db *RecordingKV) Stat() (string, error) {
115110
return "", errors.New("recording KV doesn't support Stat")
116111
}

ethdb/leveldb/fake_leveldb.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ func (db *Database) NewIterator(prefix []byte, start []byte) ethdb.Iterator {
102102
panic("Method called on unconstructable leveldb database")
103103
}
104104

105-
func (db *Database) NewSnapshot() (ethdb.Snapshot, error) {
106-
panic("Method called on unconstructable leveldb database")
107-
}
108-
109105
// Stat returns a particular internal stat of the database.
110106
func (db *Database) Stat() (string, error) {
111107
panic("Method called on unconstructable leveldb database")

0 commit comments

Comments
 (0)