Skip to content

Commit

Permalink
Comment out test codes
Browse files Browse the repository at this point in the history
  • Loading branch information
wakiyamap committed Apr 4, 2022
1 parent 001dd1a commit 4e01dc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions electrum_mona/blockchain.py
Expand Up @@ -579,8 +579,8 @@ def get_target_dgwv3(self, height, chain={}) -> int:
if last is None:
last = self.read_header(height - 1)
# for using testdata(checkpoints)
if height == 2618875:
print(chain)
##if height == 2618875:
## print(chain)
# params
BlockLastSolved = last
BlockReading = last
Expand Down Expand Up @@ -645,8 +645,8 @@ def get_target(self, height, chain={}) -> int:
return 0
else:
# for using testdata(checkpoints)
if height == 2618875:
print(Blockchain.get_target_dgwv3(self, height, chain))
##if height == 2618875:
## print(Blockchain.get_target_dgwv3(self, height, chain))
return Blockchain.get_target_dgwv3(self, height, chain)


Expand Down

0 comments on commit 4e01dc7

Please sign in to comment.