mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
tests/bor: fixed unit test failing because of nil SnapshotCache
This commit is contained in:
parent
02614da8c7
commit
c36714d273
1 changed files with 1 additions and 0 deletions
|
|
@ -823,6 +823,7 @@ func InitMinerSprintLength(genesis *core.Genesis, privKey *ecdsa.PrivateKey, wit
|
|||
GasPrice: big.NewInt(1),
|
||||
Recommit: time.Second,
|
||||
},
|
||||
SnapshotCache: 10,
|
||||
WithoutHeimdall: withoutHeimdall,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue