Compatibility with new chronos version
This commit is contained in:
parent
a1eb53b181
commit
2d501196fa
|
@ -17,7 +17,8 @@ import chronos, stew/endians2
|
||||||
import multiaddress, multicodec, errors, utility
|
import multiaddress, multicodec, errors, utility
|
||||||
|
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
import winlean
|
when not declared(Sockaddr_storage):
|
||||||
|
import winlean
|
||||||
else:
|
else:
|
||||||
import posix
|
import posix
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue