eth/catalyst: make tests run faster (#25818)

This commit is contained in:
Martin Holst Swende 2022-09-21 15:12:45 +02:00 committed by GitHub
parent 6eb8f3225e
commit 400ab0d94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -414,7 +414,6 @@ func startEthService(t *testing.T, genesis *core.Genesis, blocks []*types.Block)
n.Close() n.Close()
t.Fatal("can't import test blocks:", err) t.Fatal("can't import test blocks:", err)
} }
time.Sleep(500 * time.Millisecond) // give txpool enough time to consume head event
ethservice.SetEtherbase(testAddr) ethservice.SetEtherbase(testAddr)
ethservice.SetSynced() ethservice.SetSynced()