mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
Calculate tx dependency only when mining is enabled (#935)
This commit is contained in:
parent
eedeaed1fb
commit
576fb65dac
1 changed files with 1 additions and 1 deletions
|
|
@ -1172,7 +1172,7 @@ mainloop:
|
|||
}
|
||||
|
||||
// nolint:nestif
|
||||
if EnableMVHashMap {
|
||||
if EnableMVHashMap && w.isRunning() {
|
||||
close(chDeps)
|
||||
depsWg.Wait()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue