Permalink
Browse files

Update template_registry.py

  • Loading branch information...
ahmedbodi committed Dec 15, 2013
1 parent ce14515 commit 24e71e40e7b4141fadb30c33e6733b55403e0abe
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/template_registry.py
View
@@ -147,7 +147,7 @@ def _update_block(self, data):
def diff_to_target(self, difficulty):
'''Converts difficulty to target'''
if settings.COINDAEMON_ALGO == 'scrypt':
if settings.COINDAEMON_ALGO == 'scrypt' or 'scrypt-jane':
diff1 = 0x0000ffff00000000000000000000000000000000000000000000000000000000
elif settings.COINDAEMON_ALGO == 'quark':
diff1 = 0x000000ffff000000000000000000000000000000000000000000000000000000

0 comments on commit 24e71e4

Please sign in to comment.