commit e7bc480f7c7f2fef504079e8653a16d03a41f1c9
parent 90d091edfd633a9c07634a7055cf4917fc0b699b
Author: nolash <dev@holbrook.no>
Date: Thu, 3 Jun 2021 16:16:41 +0200
Remove unused handler
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/chainsyncer/runnable/tracker.py b/chainsyncer/runnable/tracker.py
@@ -27,17 +27,6 @@ logg = logging.getLogger()
config_dir = '/usr/local/etc/cic-syncer'
-class Handler:
-
- def __init__(self, method, domain):
- self.method = method
- self.domain = domain
-
- def handle(self, getter, tx, chain):
- logg.debug('noop tx {} chain {} method {} domain {}'.format(tx, chain, self.method, self.domain))
-handler = getattr(Handler, 'handle')
-
-
argparser = argparse.ArgumentParser(description='daemon that monitors transactions in new blocks')
argparser.add_argument('-p', '--provider', dest='p', type=str, help='chain rpc provider address')
argparser.add_argument('-c', type=str, default=config_dir, help='config root to use')