Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ulope committed Jun 23, 2016
1 parent ceb0c0f commit 8eef23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devp2p/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def send_neighbours(self, node, neighbours):
log.debug('>>> neighbours', remoteid=node, count=len(nodes), local=self.this_node,
neighbours=neighbours)
# FIXME: don't brake udp packet size / chunk message / also when receiving
message = self.pack(self.cmd_id_map['neighbours'], [nodes][:12]) # FIXME
message = self.pack(self.cmd_id_map['neighbours'], [nodes[:12]]) # FIXME
self.send(node, message)

def recv_neighbours(self, nodeid, payload, mdc):
Expand Down

0 comments on commit 8eef23e

Please sign in to comment.