Skip to content

Commit

Permalink
pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
hackaugusto committed Sep 1, 2017
1 parent 530f14a commit 55e44ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions raiden/message_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ def on_message(self, message, msghash): # noqa pylint: disable=unused-argument
cmdid = message.cmdid

# ack and ping messages are not forwarded to the handler
# if cmdid == messages.ACK:
# pass
# elif cmdid == messages.PING:
# pass

if cmdid == messages.SECRETREQUEST:
self.message_secretrequest(message)
Expand Down
4 changes: 1 addition & 3 deletions raiden/network/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -681,11 +681,9 @@ def receive(self, data):
node=pex(self.raiden.address),
echohash=pex(echohash),
message=message,
sender=pex(message.sender),
)

# ping handler does nothing
# self.raiden.on_message(message, echohash)

ack = Ack(
self.raiden.address,
echohash,
Expand Down

0 comments on commit 55e44ab

Please sign in to comment.