Compatibility with new chronos version

This commit is contained in:
Tanguy 2023-05-02 17:34:50 +02:00
parent a1eb53b181
commit 2d501196fa
No known key found for this signature in database
GPG Key ID: 7DD8EC6B6CE6C45E
1 changed files with 2 additions and 1 deletions

View File

@ -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