mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +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{
|
Miner: miner.Config{
|
||||||
Etherbase: common.HexToAddress(testAddress),
|
Etherbase: common.HexToAddress(testAddress),
|
||||||
},
|
},
|
||||||
|
SnapshotCache: 10,
|
||||||
}
|
}
|
||||||
if confOverride != nil {
|
if confOverride != nil {
|
||||||
confOverride(ethConf)
|
confOverride(ethConf)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue