worker: (Block-STM) Do not hardcode EnableMVHashMap as false (#1039)

* do not hardcode EnableMVHashMap as false

* addressed comment

* lint
This commit is contained in:
Pratik Patil 2023-10-12 17:15:14 +05:30 committed by GitHub
parent d79e671aff
commit a5d53af402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1070,7 +1070,7 @@ func (w *worker) commitTransactions(env *environment, txs *types.TransactionsByP
var depsWg sync.WaitGroup
EnableMVHashMap := false
EnableMVHashMap := w.chainConfig.Bor.IsParallelUniverse(env.header.Number)
// create and add empty mvHashMap in statedb
if EnableMVHashMap {