Skip to content

Commit

Permalink
Commit Fix For Renamed POW Calc Function
Browse files Browse the repository at this point in the history
  • Loading branch information
CryptoExpert committed Feb 7, 2017
1 parent 7d9579e commit bbc5366
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conf/config_sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ALGO_NAME = 'lyra2re2_hash' # Name of module implementing getPoWHash
COINDAEMON_TX = False # For Coins which support TX Messages please enter yes in the TX selection
COINDAEMON_HAS_SEGWIT = False
#CUSTOM_HEADER = "000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"
#CUSTOM_HEADER = "000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"
#CUSTOM_DIFF1 = 0x0000ffff00000000000000000000000000000000000000000000000000000000 # Scrypt
#COINDAEMON_REWARD = 'POW' If it needs to be overridden i believe
# ******************** BASIC SETTINGS ***************
Expand Down
2 changes: 1 addition & 1 deletion lib/block_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def serialize(self):
return ''.join(r)

def is_valid(self):
self.calc_sha256()
self.calc_hash()
target = util.uint256_from_compact(self.nBits)
if self.sha256 > self.target:
return False
Expand Down

0 comments on commit bbc5366

Please sign in to comment.