commit 045c120439f0844c9cca22a40df7860baf07338b
parent 8130d28e277e3dd95d0b500fb719784e4226d722
Author: lash <dev@holbrook.no>
Date: Sat, 19 Mar 2022 02:47:25 +0000
Remove dead code
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/chainsyncer/driver.py b/chainsyncer/driver.py
@@ -58,7 +58,6 @@ class SyncDriver:
while self.running_global:
self.session = SyncSession(self.store)
item = self.session.start()
- logg.debug('item {}'.format(item))
if item == None:
self.running = False
self.running_global = False
@@ -93,6 +92,7 @@ class SyncDriver:
def loop(self, conn, item):
+ logg.debug('started loop')
tx_start = item.tx_cursor
while self.running and SyncDriver.running_global:
self.last_start = time.clock_gettime_ns(self.clock_id)
@@ -114,6 +114,7 @@ class SyncDriver:
self.process(conn, item, block, tx_start)
except IndexError:
item.next(advance_block=True)
+ logg.debug('foo')
tx_start = 0
time.sleep(self.yield_delay)
if self.post_callback != None:
diff --git a/chainsyncer/session.py b/chainsyncer/session.py
@@ -9,7 +9,6 @@ class SyncSession:
def __init__(self, session_store):
self.session_store = session_store
- self.filters = []
self.started = self.session_store.started
self.get = self.session_store.get
self.next = self.session_store.next_item