aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2016-02-10 20:20:03 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2016-02-10 23:50:50 +0800
commit725f2a4cf74c8af49ef85ca49202cbdfdccc0589 (patch)
tree5321814dc543fd5fdd782c79198183f49e11fa53 /eth/backend.go
parent856b9e9c500dae60ed84e75d9577b2deb504558e (diff)
downloaddexon-725f2a4cf74c8af49ef85ca49202cbdfdccc0589.tar.gz
dexon-725f2a4cf74c8af49ef85ca49202cbdfdccc0589.tar.zst
dexon-725f2a4cf74c8af49ef85ca49202cbdfdccc0589.zip
eth: Added GPO to suggest default gas prices
This PR fixes a regression of the RPC where the default gas price that was being used for transaction wasn't properly using the GPO. This PR adds the GPO back to suggest gas prices rather than the hardcoded default of 10000000000000. Closes #2194
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 352522f61..ebf7b0765 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -269,7 +269,7 @@ func (s *Ethereum) APIs() []rpc.API {
}, {
Namespace: "eth",
Version: "1.0",
- Service: NewPublicTransactionPoolAPI(s.TxPool(), s.Miner(), s.ChainDb(), s.EventMux(), s.BlockChain(), s.AccountManager()),
+ Service: NewPublicTransactionPoolAPI(s),
Public: true,
}, {
Namespace: "eth",