Skip to content

Commit 3e647b7

Browse files
authored
Update send-addrs-msg.py
1 parent ecd7c71 commit 3e647b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/send-addrs-msg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ def addr_pkt( str_addrs ):
4141
s.send( version_pkt(client_ip, server_ip).to_bytes() )
4242

4343
# Get Version reply
44-
print s.recv(1924)
44+
print(s.recv(1924))
4545

4646
# Send Verack
4747
s.send( msg_verack().to_bytes() )
4848
# Get Verack
49-
print s.recv(1024)
49+
print(s.recv(1024))
5050

5151
# Send Addrs
5252
s.send( addr_pkt(["252.11.1.2", "EEEE:7777:8888:AAAA::1"]).to_bytes() )

0 commit comments

Comments
 (0)