Skip to content

Commit

Permalink
chore: fix struct field name in comment
Browse files Browse the repository at this point in the history
Signed-off-by: cuibuwei <cuibuwei@gmail.com>
  • Loading branch information
cuibuwei committed Dec 2, 2024
1 parent d0fc37a commit 92148f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92148f5

Please sign in to comment.