mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-13 12:08:12 -07:00
Renamed has_path method
This commit is contained in:
@@ -209,10 +209,10 @@ def client(destination_hexhash, configpath):
|
||||
|
||||
|
||||
# Check if we know a path to the destination
|
||||
if not RNS.Transport.hasPath(destination_hash):
|
||||
if not RNS.Transport.has_path(destination_hash):
|
||||
RNS.log("Destination is not yet known. Requesting path and waiting for announce to arrive...")
|
||||
RNS.Transport.requestPath(destination_hash)
|
||||
while not RNS.Transport.hasPath(destination_hash):
|
||||
while not RNS.Transport.has_path(destination_hash):
|
||||
time.sleep(0.1)
|
||||
|
||||
# Recall the server identity
|
||||
|
||||
Reference in New Issue
Block a user