From 92148f5b21e9a29e0057b188b5facfeb3f6d72b9 Mon Sep 17 00:00:00 2001 From: cuibuwei Date: Mon, 2 Dec 2024 20:11:50 +0800 Subject: [PATCH] chore: fix struct field name in comment Signed-off-by: cuibuwei --- rpc/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/client.go b/rpc/client.go index d565c88..04b1e18 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -127,7 +127,7 @@ type Client interface { // GetBannedAddresses returns all banned IPs/Subnets. GetBannedAddresses(ctx context.Context) ([]*types.BannedAddress, error) - // ClearBannedAddress returns all banned IPs/Subnets. + // ClearBannedAddresses returns all banned IPs/Subnets. ClearBannedAddresses(ctx context.Context) error // SetBan insert or delete an IP/Subnet from the banned list