Update missed references to get_route in docs
[rust-lightning] / ARCH.md
diff --git a/ARCH.md b/ARCH.md
index 5b9304cce009f8d9b3eb1a7fcff3721fc3efb094..e48568bdee476ec2ffa934385592fc6450f16156 100644 (file)
--- a/ARCH.md
+++ b/ARCH.md
@@ -12,8 +12,8 @@ channel steps forward.
 
 There are two additional important structures that you may use either on the same device
 as the `ChannelManager` or on a separate one. `NetGraphMsgHandler` handles receiving channel
-and node announcements, which are then used to calculate routes by `get_route` for sending payments.
-`PeerManager` handles the authenticated and encrypted communication protocol,
+and node announcements, which are then used to calculate routes by `find_route` for sending
+payments. `PeerManager` handles the authenticated and encrypted communication protocol,
 monitoring for liveness of peers, routing messages to `ChannelManager` and `NetGraphMsgHandler`
 instances directly, and receiving messages from them via the `EventsProvider` interface.