We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c01a032 + 3e647b7 commit c90046fCopy full SHA for c90046f
1 file changed
examples/send-addrs-msg.py
@@ -43,12 +43,12 @@ def addr_pkt( str_addrs ):
43
s.send( version_pkt(client_ip, server_ip).to_bytes() )
44
45
# Get Version reply
46
-print s.recv(1924)
+print(s.recv(1924))
47
48
# Send Verack
49
s.send( msg_verack().to_bytes() )
50
# Get Verack
51
-print s.recv(1024)
+print(s.recv(1024))
52
53
# Send Addrs
54
s.send( addr_pkt(["252.11.1.2", "EEEE:7777:8888:AAAA::1"]).to_bytes() )
0 commit comments