summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTolik Zinovyev <tolik@algorand.com>2022-01-06 15:06:42 -0500
committerGitHub <noreply@github.com>2022-01-06 15:06:42 -0500
commit35cf3b32c7c306abccbdfa149e86e0d0f0437113 (patch)
tree7495d40420bce5299b462df015fb952258a769a9
parent16c3053021af654ee3175e6af100d0546021e0b8 (diff)
Delete unused constant. (#3379)
## Summary This PR deletes an unused constant. ## Test Plan None.
-rw-r--r--network/wsNetwork.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/network/wsNetwork.go b/network/wsNetwork.go
index 525968ebf..7768addf2 100644
--- a/network/wsNetwork.go
+++ b/network/wsNetwork.go
@@ -77,9 +77,6 @@ const httpServerIdleTimeout = time.Second * 4
// size of the request body.
const httpServerMaxHeaderBytes = 4096
-// MaxInt is the maximum int which might be int32 or int64
-const MaxInt = int((^uint(0)) >> 1)
-
// connectionActivityMonitorInterval is the interval at which we check
// if any of the connected peers have been idle for a long while and
// need to be disconnected.