diff --git a/python/.changelog.d/1668.changed b/python/.changelog.d/1668.changed new file mode 100644 index 0000000000..a06c1300cf --- /dev/null +++ b/python/.changelog.d/1668.changed @@ -0,0 +1 @@ +`UdpTransport.wait_until_ready` no longer sets socket to nonblocking diff --git a/python/src/trezorlib/transport/udp.py b/python/src/trezorlib/transport/udp.py index 447ae24986..335e194346 100644 --- a/python/src/trezorlib/transport/udp.py +++ b/python/src/trezorlib/transport/udp.py @@ -91,7 +91,6 @@ class UdpTransport(ProtocolBasedTransport): def wait_until_ready(self, timeout: float = 10) -> None: try: self.open() - self.socket.settimeout(0) start = time.monotonic() while True: if self._ping():