Method names updated in examples

This commit is contained in:
Mark Qvist 2021-05-16 17:33:39 +02:00
parent 235b1cea4c
commit b0369585e0
3 changed files with 3 additions and 3 deletions

View file

@ -211,7 +211,7 @@ def client(destination_hexhash, configpath):
# Check if we know a path to the destination
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)
RNS.Transport.request_path(destination_hash)
while not RNS.Transport.has_path(destination_hash):
time.sleep(0.1)