mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
worker: (Block-STM) Do not hardcode EnableMVHashMap as false (#1039)
* do not hardcode EnableMVHashMap as false * addressed comment * lint
This commit is contained in:
parent
d79e671aff
commit
a5d53af402
1 changed files with 1 additions and 1 deletions
|
|
@ -1070,7 +1070,7 @@ func (w *worker) commitTransactions(env *environment, txs *types.TransactionsByP
|
||||||
|
|
||||||
var depsWg sync.WaitGroup
|
var depsWg sync.WaitGroup
|
||||||
|
|
||||||
EnableMVHashMap := false
|
EnableMVHashMap := w.chainConfig.Bor.IsParallelUniverse(env.header.Number)
|
||||||
|
|
||||||
// create and add empty mvHashMap in statedb
|
// create and add empty mvHashMap in statedb
|
||||||
if EnableMVHashMap {
|
if EnableMVHashMap {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue