console: fixed unit tests failing because of nil SnapshotCache

This commit is contained in:
Pratik Patil 2025-05-12 11:31:33 +05:30
parent e57d85b108
commit bd00cedd70
No known key found for this signature in database
GPG key ID: AFDCA496554874B3

View file

@ -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)