From b0369585e0f35197ac6c9e89df1000765ce09ecf Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sun, 16 May 2021 17:33:39 +0200 Subject: [PATCH] Method names updated in examples --- Examples/Echo.py | 2 +- Examples/Filetransfer.py | 2 +- Examples/Link.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples/Echo.py b/Examples/Echo.py index cfe6426..da47633 100644 --- a/Examples/Echo.py +++ b/Examples/Echo.py @@ -158,7 +158,7 @@ def client(destination_hexhash, configpath, timeout=None): # If we do not know this destination, tell the # user to wait for an announce to arrive. RNS.log("Destination is not yet known. Requesting path...") - RNS.Transport.requestPath(destination_hash) + RNS.Transport.request_path(destination_hash) # This function is called when our reply destination # receives a proof packet. diff --git a/Examples/Filetransfer.py b/Examples/Filetransfer.py index 2f861af..ec9e5d2 100644 --- a/Examples/Filetransfer.py +++ b/Examples/Filetransfer.py @@ -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) diff --git a/Examples/Link.py b/Examples/Link.py index aeb2d50..d4be6ca 100644 --- a/Examples/Link.py +++ b/Examples/Link.py @@ -112,7 +112,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)