File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
bitcoin_functional/functional/test_framework
functional/test_framework Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def all_interfaces():
107107 max_possible *= 2
108108 else :
109109 break
110- namestr = names .tostring ()
110+ namestr = names .tobytes ()
111111 return [(namestr [i :i + 16 ].split (b'\0 ' , 1 )[0 ],
112112 socket .inet_ntoa (namestr [i + 20 :i + 24 ]))
113113 for i in range (0 , outbytes , struct_size )]
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def all_interfaces():
107107 max_possible *= 2
108108 else :
109109 break
110- namestr = names .tostring ()
110+ namestr = names .tobytes ()
111111 return [(namestr [i :i + 16 ].split (b'\0 ' , 1 )[0 ],
112112 socket .inet_ntoa (namestr [i + 20 :i + 24 ]))
113113 for i in range (0 , outbytes , struct_size )]
You can’t perform that action at this time.
0 commit comments