aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm.go
diff options
context:
space:
mode:
authorTyler Smith <[email protected]>2020-08-24 19:27:32 -0700
committerTyler Smith <[email protected]>2020-08-24 19:27:32 -0700
commit9f9c3ac8b840e99db942c01505be987d8b2663d4 (patch)
treed9c778c089e7e5eb55cb0ea7f8c94b4ea179895a /plugin/evm/vm.go
parenta611e6972eb593d1addaeb01880d0e05c04f613f (diff)
TWEAK: Set TxPool PriceLimit to minGas.
Diffstat (limited to 'plugin/evm/vm.go')
-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 08d7bcb..f656d02 100644
--- a/plugin/evm/vm.go
+++ b/plugin/evm/vm.go
@@ -241,6 +241,7 @@ func (vm *VM) Initialize(
// gas price to prevent so transactions and blocks all use the correct fees
config.Miner.GasPrice = minGasPrice
config.GPO.Default = minGasPrice
+ config.TxPool.PriceLimit = minGasPrice.Uint64()
if err := config.SetGCMode("archive"); err != nil {
panic(err)