eth-stat-syncer

Cache live EVM blockchain stats
git clone git://holbrook.no/eth-stat-syncer.git
Log | Files | Refs

commit c43cb44a6092a612428369889cfe325f9f7b7ebf
parent c667cf351db90f7ea492a251de07ab6c3e7545cc
Author: lash <dev@holbrook.no>
Date:   Thu,  7 Apr 2022 14:45:47 +0000

Remove bogus aggregate alias

Diffstat:
Meth_stat_syncer/runnable/server.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eth_stat_syncer/runnable/server.py b/eth_stat_syncer/runnable/server.py @@ -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