aboutsummaryrefslogtreecommitdiffstats
path: root/miner/miner.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-05-17 03:07:27 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-05-17 03:07:27 +0800
commita2f23ca9b181fa4409fdee3076316f3127038b9b (patch)
tree4aff39e2ad7ff31562468830b7f3435188e1672c /miner/miner.go
parente20158176d2061ff95cdf022aa7113aa7c47a98e (diff)
downloadgo-tangerine-a2f23ca9b181fa4409fdee3076316f3127038b9b.tar.gz
go-tangerine-a2f23ca9b181fa4409fdee3076316f3127038b9b.tar.zst
go-tangerine-a2f23ca9b181fa4409fdee3076316f3127038b9b.zip
cmd, core, eth, miner: remove txpool gas price limits (#14442)
Diffstat (limited to 'miner/miner.go')
-rw-r--r--miner/miner.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/miner/miner.go b/miner/miner.go
index 453fff04d..fec0a40f5 100644
--- a/miner/miner.go
+++ b/miner/miner.go
@@ -19,7 +19,6 @@ package miner
import (
"fmt"
- "math/big"
"sync/atomic"
"github.com/ethereum/go-ethereum/accounts"
@@ -104,18 +103,6 @@ out:
}
}
-func (m *Miner) GasPrice() *big.Int {
- return new(big.Int).Set(m.worker.gasPrice)
-}
-
-func (m *Miner) SetGasPrice(price *big.Int) {
- // FIXME block tests set a nil gas price. Quick dirty fix
- if price == nil {
- return
- }
- m.worker.setGasPrice(price)
-}
-
func (self *Miner) Start(coinbase common.Address) {
atomic.StoreInt32(&self.shouldStart, 1)
self.worker.setEtherbase(coinbase)