From bc31a8b36f3bbf9846afd86a1a270672c3e0ca8c Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Tue, 6 Aug 2024 20:28:08 +0800 Subject: [PATCH] routing: fix doc string --- routing/router.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routing/router.go b/routing/router.go index 94ceafaca..ec134a15b 100644 --- a/routing/router.go +++ b/routing/router.go @@ -262,9 +262,9 @@ type Config struct { // sessions. SessionSource PaymentSessionSource - // QueryBandwidth is a method that allows the router to query the lower - // link layer to determine the up-to-date available bandwidth at a - // prospective link to be traversed. If the link isn't available, then + // GetLink is a method that allows the router to query the lower link + // layer to determine the up-to-date available bandwidth at a + // prospective link to be traversed. If the link isn't available, then // a value of zero should be returned. Otherwise, the current up-to- // date knowledge of the available bandwidth of the link should be // returned.