eth/backend: fix test

This commit is contained in:
Gary Rong 2023-09-25 11:51:03 +08:00
parent 24d73042b3
commit 8687c35e9d

View file

@ -440,6 +440,10 @@ func (s *Ethereum) StartMining() error {
} }
cli.Authorize(eb, wallet.SignData) cli.Authorize(eb, wallet.SignData)
} }
// If mining is started, we can disable the transaction rejection mechanism
// introduced to speed sync times.
s.handler.enableSyncedFeatures()
go s.miner.Start() go s.miner.Start()
} }
return nil return nil