aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/admin.go
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-16 20:59:39 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-22 14:54:21 +0800
commitc3f6c322c07a96d3930c75d05ed3859e7d80ddbc (patch)
tree8d702eb65113923b0b6a40c0d1d064f82ae2fb44 /rpc/api/admin.go
parent5c25403b13a698267230f859e822a7f714082198 (diff)
downloadgo-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar
go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.gz
go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.bz2
go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.lz
go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.xz
go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.zst
go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.zip
added DB api
Diffstat (limited to 'rpc/api/admin.go')
-rw-r--r--rpc/api/admin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/rpc/api/admin.go b/rpc/api/admin.go
index a6b9cf050..532bdcadd 100644
--- a/rpc/api/admin.go
+++ b/rpc/api/admin.go
@@ -222,10 +222,10 @@ func (self *adminApi) ChainSyncStatus(req *shared.Request) (interface{}, error)
pending, cached, importing, estimate := self.ethereum.Downloader().Stats()
return map[string]interface{}{
- "blocksAvailable": pending,
+ "blocksAvailable": pending,
"blocksWaitingForImport": cached,
- "importing": importing,
- "estimate": estimate.String(),
+ "importing": importing,
+ "estimate": estimate.String(),
}, nil
}