mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
console: fixed unit tests failing because of nil SnapshotCache
This commit is contained in:
parent
e57d85b108
commit
bd00cedd70
1 changed files with 1 additions and 0 deletions
|
|
@ -99,6 +99,7 @@ func newTester(t *testing.T, confOverride func(*ethconfig.Config)) *tester {
|
|||
Miner: miner.Config{
|
||||
Etherbase: common.HexToAddress(testAddress),
|
||||
},
|
||||
SnapshotCache: 10,
|
||||
}
|
||||
if confOverride != nil {
|
||||
confOverride(ethConf)
|
||||
|
|
|
|||
Loading…
Reference in a new issue