From 781aa0285a8984679adea9a166b5de1b8a633d4f Mon Sep 17 00:00:00 2001 From: ahmedbodi Date: Fri, 31 Jan 2014 00:13:47 +0000 Subject: [PATCH] Update interfaces.py --- mining/interfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mining/interfaces.py b/mining/interfaces.py index 4177aff..48f0012 100644 --- a/mining/interfaces.py +++ b/mining/interfaces.py @@ -82,7 +82,7 @@ class ShareManagerInterface(object): def on_submit_block(self, is_accepted, worker_name, block_header, block_hash, timestamp, ip, share_diff): log.info("Block %s %s" % (block_hash, 'ACCEPTED' if is_accepted else 'REJECTED')) - dbi.do_import(True) + dbi.do_import(dbi, True) dbi.found_block([worker_name, block_header, block_hash, -1, timestamp, is_accepted, ip, self.block_height, self.prev_hash, share_diff ]) class TimestamperInterface(object):