From 3960b690bf8c67afe706bb469b0ff2798424a26e Mon Sep 17 00:00:00 2001 From: Aaron Buchwald Date: Thu, 17 Dec 2020 13:58:14 -0500 Subject: Decrease minimum gas price at apricot upgrade --- coreth.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'coreth.go') diff --git a/coreth.go b/coreth.go index 25e9da2..c39b171 100644 --- a/coreth.go +++ b/coreth.go @@ -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 -- cgit v1.2.3