Skip to content

Commit 99808e5

Browse files
chore
1 parent e906101 commit 99808e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/command_dbtable.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ func retrieveDbTableData(thisDb *badger.DB, thisBucket []byte) []tDbRecord {
7373
logInfo.Printf("Encoded table prefix: %s", string(thisPrefix))
7474
}
7575

76-
opts := badger.DefaultIteratorOptions
77-
iter := txn.NewIterator(opts)
76+
iter := txn.NewIterator(badger.DefaultIteratorOptions)
7877
defer iter.Close()
7978

8079
for iter.Seek(thisPrefix); iter.ValidForPrefix(thisPrefix); iter.Next() {

0 commit comments

Comments
 (0)