log stats as str

This commit is contained in:
banteg 2017-12-31 08:12:29 +07:00
parent ef55fab69c
commit 8ed97bdca7
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ def worker(skip_warmup):
while True:
for n in latest.get_new_entries():
process_block(n)
log.info(stats)
log.info(str(stats))
if not w3.eth.syncing:
stats['health'] = True
sleep(1)

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name='gasprice',
version='1.1.4',
version='1.1.5',
description='predict ethereum gas price',
url='https://github.com/banteg/gasprice',
author='banteg',