aboutsummaryrefslogtreecommitdiff
path: root/coreth.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-12-17 13:58:14 -0500
committerAaron Buchwald <[email protected]>2020-12-17 13:58:14 -0500
commit3960b690bf8c67afe706bb469b0ff2798424a26e (patch)
tree77b60c080f63df21af115406e6b78a7862a68ad9 /coreth.go
parentea099f5811574d3dae79a31053d21b523d008d75 (diff)
Decrease minimum gas price at apricot upgrade
Diffstat (limited to 'coreth.go')
-rw-r--r--coreth.go6
1 files changed, 6 insertions, 0 deletions
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