diff options
author | Aaron Buchwald <[email protected]> | 2020-12-17 13:58:14 -0500 |
---|---|---|
committer | Aaron Buchwald <[email protected]> | 2020-12-17 13:58:14 -0500 |
commit | 3960b690bf8c67afe706bb469b0ff2798424a26e (patch) | |
tree | 77b60c080f63df21af115406e6b78a7862a68ad9 /coreth.go | |
parent | ea099f5811574d3dae79a31053d21b523d008d75 (diff) |
Decrease minimum gas price at apricot upgrade
Diffstat (limited to 'coreth.go')
-rw-r--r-- | coreth.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -3,6 +3,7 @@ package coreth import ( "crypto/ecdsa" "io" + "math/big" "os" "github.com/ava-labs/coreth/consensus/dummy" @@ -213,6 +214,11 @@ func (self *ETHChain) GetTxPool() *core.TxPool { return self.backend.TxPool() } +// SetGasPrice sets the gas price on the backend +func (self *ETHChain) SetGasPrice(newGasPrice *big.Int) { + self.backend.SetGasPrice(newGasPrice) +} + type Key struct { Address common.Address PrivateKey *ecdsa.PrivateKey |