Skip to content

Commit 02e9695

Browse files
authored
Merge pull request #124 from Chia-Network/fix_harvester
Fix Harvester
2 parents f93095d + 51ae42d commit 02e9695

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/harvester.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ async def new_challenge(self, new_challenge: harvester_protocol.NewChallenge):
120120
log.error(f"Retry-Error using prover object on {filename}. Giving up.")
121121
quality_strings = None
122122

123-
if quality_strings is not None:
124-
for index, quality_str in enumerate(quality_strings):
125-
quality = ProofOfSpace.quality_str_to_quality(
126-
new_challenge.challenge_hash, quality_str
127-
)
123+
if quality_strings is not None:
124+
for index, quality_str in enumerate(quality_strings):
125+
quality = ProofOfSpace.quality_str_to_quality(
126+
new_challenge.challenge_hash, quality_str
127+
)
128128
self.challenge_hashes[quality] = (
129129
new_challenge.challenge_hash,
130130
filename,

0 commit comments

Comments
 (0)