mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
Update ethclient/gethclient/gethclient_test.go
This commit is contained in:
parent
cc34d9249f
commit
863678b256
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ func newTestBackend(t *testing.T) (*node.Node, []*types.Block) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func generateTestChain() (*core.Genesis, []*types.Block) {
|
func generateTestChain() (*core.Genesis, []*types.Block) {
|
||||||
testTxHashes = nil // reset before generating a new chain
|
testTxHashes = testTxHashes[:0] // reset previous test tx hashes before generating a new chain
|
||||||
genesis := &core.Genesis{
|
genesis := &core.Genesis{
|
||||||
Config: params.AllEthashProtocolChanges,
|
Config: params.AllEthashProtocolChanges,
|
||||||
Alloc: types.GenesisAlloc{
|
Alloc: types.GenesisAlloc{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue