diff options
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 |