Remove useless pass in wallet node (#6313)

This commit is contained in:
Benedict Jin 2021-06-02 13:09:12 +08:00 committed by GitHub
parent a6a0fc30bc
commit 8fcbcd9f22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,6 @@ class WalletNodeAPI:
@api_request
async def reject_puzzle_solution(self, request: wallet_protocol.RejectPuzzleSolution):
self.log.warning(f"Reject puzzle solution: {request}")
pass
@api_request
async def respond_header_blocks(self, request: wallet_protocol.RespondHeaderBlocks):
@ -133,4 +132,3 @@ class WalletNodeAPI:
@api_request
async def reject_header_blocks(self, request: wallet_protocol.RejectHeaderBlocks):
self.log.warning(f"Reject header blocks: {request}")
pass