aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-09-14 15:39:11 -0400
committerAaron Buchwald <[email protected]>2020-09-14 15:39:11 -0400
commitb0a6f5024b70ae4c8ea0f856b0e648ff704b11d0 (patch)
treed3eadf33cf94834b0da48bda459da41e335bc0c9 /plugin/evm
parent14592f971162fed59a33afd98020599097406cdf (diff)
Set NoLocals to true on TxPool config
Diffstat (limited to 'plugin/evm')
-rw-r--r--plugin/evm/vm.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go
index b0073da..011c792 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -243,6 +243,7 @@ func (vm *VM) Initialize(
config.Miner.GasPrice = minGasPrice
config.GPO.Default = minGasPrice
config.TxPool.PriceLimit = minGasPrice.Uint64()
+ config.TxPool.NoLocals = true
if err := config.SetGCMode("archive"); err != nil {
panic(err)