Update ethclient/gethclient/gethclient_test.go

This commit is contained in:
jwasinger 2025-07-14 13:03:45 +09:00 committed by GitHub
parent cc34d9249f
commit 863678b256
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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