chg : minor changes

This commit is contained in:
Shivam Sharma 2022-09-02 13:58:00 +05:30
parent a2dc545fac
commit 9ac97e03fc

View file

@ -14,7 +14,6 @@ import (
"github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/fdlimit"
"github.com/ethereum/go-ethereum/consensus/ethash"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/eth"
@ -126,9 +125,6 @@ func TestValidatorWentOffline(t *testing.T) {
faucets[i], _ = crypto.GenerateKey()
}
// Pre-generate the ethash mining DAG so we don't race
ethash.MakeDataset(1, ethconfig.Defaults.Ethash.DatasetDir)
// Create an Ethash network based off of the Ropsten config
genesis := initGenesis(t, faucets)