fixed compiler issue after merge

This commit is contained in:
Bas van Kervel 2015-06-11 13:35:35 +02:00 committed by obscuren
parent 6541a13e54
commit d60912fb6a

View file

@ -219,8 +219,14 @@ func (self *adminApi) Verbosity(req *shared.Request) (interface{}, error) {
}
func (self *adminApi) ChainSyncStatus(req *shared.Request) (interface{}, error) {
pending, cached := self.ethereum.Downloader().Stats()
return map[string]interface{}{"blocksAvailable": pending, "blocksWaitingForImport": cached}, nil
pending, cached, importing, estimate := self.ethereum.Downloader().Stats()
return map[string]interface{}{
"blocksAvailable": pending,
"blocksWaitingForImport": cached,
"importing": importing,
"estimate": estimate.String(),
}, nil
}
func (self *adminApi) SetSolc(req *shared.Request) (interface{}, error) {