File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -214,16 +214,17 @@ def _get_level(address: int) -> int:
214
214
break
215
215
if callable (self .block_less_callback ):
216
216
self .block_less_callback ()
217
- if new_addr is None :
218
- return False
219
- super ()._begin (new_addr )
220
- # print("new address assigned:", oct(new_addr))
221
- # do a double check as a manual retry in lack of using auto-ack
222
- if self .lookup_node_id (self ._addr ) != self ._id :
217
+ if new_addr is None :
218
+ continue
219
+ super ()._begin (new_addr )
220
+ # print("new address assigned:", oct(new_addr))
221
+ # do a double check as a manual retry in lack of using auto-ack
223
222
if self .lookup_node_id (self ._addr ) != self ._id :
224
- super ()._begin (NETWORK_DEFAULT_ADDR )
225
- return False
226
- return True
223
+ if self .lookup_node_id (self ._addr ) != self ._id :
224
+ super ()._begin (NETWORK_DEFAULT_ADDR )
225
+ continue
226
+ return True
227
+ return False
227
228
228
229
def _make_contact (self , lvl : int ) -> List [int ]:
229
230
"""Make a list of connections after multicasting a `NETWORK_POLL` message."""
You can’t perform that action at this time.
0 commit comments