mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-01-31 10:30:52 +00:00
Merge pull request #3228 from Anish-M-code/1.14.7-dev
Fix array.array object has no attribute tostring() in qa/testframework/netutil.py
This commit is contained in:
commit
4c34b6ebe9
@ -105,7 +105,7 @@ def all_interfaces():
|
||||
max_possible *= 2
|
||||
else:
|
||||
break
|
||||
namestr = names.tostring()
|
||||
namestr = names.tobytes()
|
||||
return [(namestr[i:i+16].split(b'\0', 1)[0],
|
||||
socket.inet_ntoa(namestr[i+20:i+24]))
|
||||
for i in range(0, outbytes, struct_size)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user