all: move common.Database to package ethdb
This commit is contained in:
@ -22,7 +22,7 @@ import (
|
||||
|
||||
"github.com/ethereum/go-ethereum/core/types"
|
||||
// "github.com/ethereum/go-ethereum/crypto"
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
|
||||
"github.com/ethereum/go-ethereum/ethdb"
|
||||
"github.com/ethereum/go-ethereum/event"
|
||||
)
|
||||
@ -32,7 +32,7 @@ type TestManager struct {
|
||||
// stateManager *StateManager
|
||||
eventMux *event.TypeMux
|
||||
|
||||
db common.Database
|
||||
db ethdb.Database
|
||||
txPool *TxPool
|
||||
blockChain *ChainManager
|
||||
Blocks []*types.Block
|
||||
@ -74,7 +74,7 @@ func (tm *TestManager) EventMux() *event.TypeMux {
|
||||
// return nil
|
||||
// }
|
||||
|
||||
func (tm *TestManager) Db() common.Database {
|
||||
func (tm *TestManager) Db() ethdb.Database {
|
||||
return tm.db
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user