python3 updates
This commit is contained in:
@@ -937,7 +937,7 @@ class Network(util.DaemonThread):
|
||||
self.notify('interfaces')
|
||||
|
||||
def maintain_requests(self):
|
||||
for interface in self.interfaces.values():
|
||||
for interface in list(self.interfaces.values()):
|
||||
if interface.request and time.time() - interface.request_time > 20:
|
||||
interface.print_error("blockchain request timed out")
|
||||
self.connection_down(interface.server)
|
||||
|
||||
Reference in New Issue
Block a user