tests/bor: fixed unit test failing because of nil SnapshotCache

This commit is contained in:
Pratik Patil 2025-05-13 09:59:48 +05:30
parent 02614da8c7
commit c36714d273
No known key found for this signature in database
GPG key ID: AFDCA496554874B3

View file

@ -823,6 +823,7 @@ func InitMinerSprintLength(genesis *core.Genesis, privKey *ecdsa.PrivateKey, wit
GasPrice: big.NewInt(1), GasPrice: big.NewInt(1),
Recommit: time.Second, Recommit: time.Second,
}, },
SnapshotCache: 10,
WithoutHeimdall: withoutHeimdall, WithoutHeimdall: withoutHeimdall,
}) })