Revert "Replace a Few IntFlags with Uint64Flags (#9959)" (#10163)

* Revert "Replace a Few IntFlags with Uint64Flags (#9959)"

This reverts commit 790bf03123.

* fix

* fix
This commit is contained in:
Nishant Das
2022-02-01 16:51:17 +08:00
committed by GitHub
parent eef2122a9e
commit e83c9d5862
25 changed files with 58 additions and 57 deletions

View File

@@ -150,7 +150,7 @@ var (
Value: "",
}
// P2PMaxPeers defines a flag to specify the max number of peers in libp2p.
P2PMaxPeers = &cli.Uint64Flag{
P2PMaxPeers = &cli.IntFlag{
Name: "p2p-max-peers",
Usage: "The max number of p2p peers to maintain.",
Value: 45,