Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
Yostra committed Mar 24, 2020
1 parent d51002b commit 51ae42d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ async def new_challenge(self, new_challenge: harvester_protocol.NewChallenge):
quality = ProofOfSpace.quality_str_to_quality(
new_challenge.challenge_hash, quality_str
)
self.challenge_hashes[quality] = (
new_challenge.challenge_hash,
filename,
uint8(index),
)
response: harvester_protocol.ChallengeResponse = harvester_protocol.ChallengeResponse(
new_challenge.challenge_hash, quality, prover.get_size()
)
all_responses.append(response)
self.challenge_hashes[quality] = (
new_challenge.challenge_hash,
filename,
uint8(index),
)
response: harvester_protocol.ChallengeResponse = harvester_protocol.ChallengeResponse(
new_challenge.challenge_hash, quality, prover.get_size()
)
all_responses.append(response)
for response in all_responses:
yield OutboundMessage(
NodeType.FARMER,
Expand Down

0 comments on commit 51ae42d

Please sign in to comment.