aboutsummaryrefslogtreecommitdiffstats
path: root/ethstats/ethstats.go
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-05-09 15:59:00 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-05-09 15:59:00 +0800
commit4747aad160ed3721a70a133105c474cb3b66519e (patch)
treea55bf59f020b131b77943d7a1b0ecdefff2f01bd /ethstats/ethstats.go
parent4ea493e7eb9fa3b3695a22487de2605e8da1d2fa (diff)
downloaddexon-4747aad160ed3721a70a133105c474cb3b66519e.tar
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.gz
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.bz2
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.lz
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.xz
dexon-4747aad160ed3721a70a133105c474cb3b66519e.tar.zst
dexon-4747aad160ed3721a70a133105c474cb3b66519e.zip
eth: golint fixes to variable names (#16711)
Diffstat (limited to 'ethstats/ethstats.go')
-rw-r--r--ethstats/ethstats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go
index ae7e25265..a15d84615 100644
--- a/ethstats/ethstats.go
+++ b/ethstats/ethstats.go
@@ -689,7 +689,7 @@ func (s *Service) reportStats(conn *websocket.Conn) error {
sync := s.eth.Downloader().Progress()
syncing = s.eth.BlockChain().CurrentHeader().Number.Uint64() >= sync.HighestBlock
- price, _ := s.eth.ApiBackend.SuggestPrice(context.Background())
+ price, _ := s.eth.APIBackend.SuggestPrice(context.Background())
gasprice = int(price.Uint64())
} else {
sync := s.les.Downloader().Progress()