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