Remove bogus aggregate alias
This commit is contained in:
parent
c667cf351d
commit
c43cb44a60
@ -13,6 +13,7 @@ from http.server import (
|
||||
import confini
|
||||
from jsonrpc_std.parse import jsonrpc_from_str
|
||||
from jsonrpc_std.interface import jsonrpc_response
|
||||
from jsonrpc_std.error import JSONRPCException
|
||||
|
||||
# local imports
|
||||
from eth_stat_syncer.store import RunStore
|
||||
@ -122,7 +123,7 @@ class StatRequestHandler(BaseHTTPRequestHandler):
|
||||
self.send_response(200, 'alas with jsonrpc error')
|
||||
|
||||
else:
|
||||
r = self.runstore.get('high', 'minute')
|
||||
r = self.runstore.get('high', 'block')
|
||||
r = int(r)
|
||||
if r == 0:
|
||||
r = 1
|
||||
|
Loading…
Reference in New Issue
Block a user