Skip to content

Commit 4db7c62

Browse files
committed
refactor(types): clarify P2PClient alias for backward compatibility
1 parent 9757433 commit 4db7c62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ type Client interface {
2828
}
2929

3030
// P2PClient is a type alias for Client, maintained for backward compatibility.
31+
//
32+
//nolint:revive // P2PClient is intentionally named for backward compatibility, stuttering is acceptable
3133
type P2PClient = Client
3234

3335
// Message represents a received message from a peer.

0 commit comments

Comments
 (0)