lib/db: Remove *instance by making everything *Lowlevel (#6204)

This commit is contained in:
Simon Frei
2019-12-02 08:18:04 +01:00
committed by Jakob Borg
parent e82a7e3dfa
commit 0bec01b827
11 changed files with 851 additions and 876 deletions

View File

@@ -16,7 +16,7 @@ import (
var blockFinder *BlockFinder
type BlockFinder struct {
db *instance
db *Lowlevel
}
func NewBlockFinder(db *Lowlevel) *BlockFinder {
@@ -25,7 +25,7 @@ func NewBlockFinder(db *Lowlevel) *BlockFinder {
}
return &BlockFinder{
db: newInstance(db),
db: db,
}
}