Skip to content

Commit

Permalink
Merge pull request #228 from cuibuwei/v2
Browse files Browse the repository at this point in the history
chore: fix struct field name in comment
  • Loading branch information
quake authored Dec 2, 2024
2 parents d0fc37a + 92148f5 commit 5f52557
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 5f52557

Please sign in to comment.