Skip to content

Commit

Permalink
don't return tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke authored and Yostra committed Jan 12, 2021
1 parent ebf968b commit 8414a8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/full_node/full_node_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ async def request_proof_of_weight(self, request: full_node_protocol.RequestProof

@api_request
async def respond_proof_of_weight(self, response: full_node_protocol.RespondProofOfWeight) -> Optional[Message]:
self.log.info(f"got weight proof response {response.wp}")
return await self.full_node.weight_proof_handler.validate_weight_proof(response.wp)
self.log.info(f"got weight proof response")
await self.full_node.weight_proof_handler.validate_weight_proof(response.wp)

@api_request
async def request_sub_block(self, request: full_node_protocol.RequestSubBlock) -> Optional[Message]:
Expand Down

0 comments on commit 8414a8e

Please sign in to comment.