From 725f2a4cf74c8af49ef85ca49202cbdfdccc0589 Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Wed, 10 Feb 2016 13:20:03 +0100 Subject: 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 --- eth/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth/backend.go') 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", -- cgit v1.2.3