mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Replace a Few IntFlags with Uint64Flags (#9959)
* use uints instead of ints * fix method * fix * fix * builds * deepsource * deep source
This commit is contained in:
@@ -150,7 +150,7 @@ var (
|
||||
Value: "",
|
||||
}
|
||||
// P2PMaxPeers defines a flag to specify the max number of peers in libp2p.
|
||||
P2PMaxPeers = &cli.IntFlag{
|
||||
P2PMaxPeers = &cli.Uint64Flag{
|
||||
Name: "p2p-max-peers",
|
||||
Usage: "The max number of p2p peers to maintain.",
|
||||
Value: 45,
|
||||
|
||||
Reference in New Issue
Block a user