diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-16 20:59:39 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-22 14:54:21 +0800 |
commit | c3f6c322c07a96d3930c75d05ed3859e7d80ddbc (patch) | |
tree | 8d702eb65113923b0b6a40c0d1d064f82ae2fb44 /rpc/api/admin.go | |
parent | 5c25403b13a698267230f859e822a7f714082198 (diff) | |
download | go-tangerine-c3f6c322c07a96d3930c75d05ed3859e7d80ddbc.tar.gz 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.go | 6 |
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 } |