changed defaultDialRatio to 2, fixed typo

This commit is contained in:
David Theodore 2024-04-24 12:14:35 -05:00
parent 4f4f9d88d3
commit 02ed27ea15
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ func fuzzRlp(t *testing.T, input []byte) {
{
var v struct {
Byte [10]byte
Rool [10]bool
Bool [10]bool
}
if err := decodeEncode(input, &v); err != nil {
t.Fatal(err)

View file

@ -51,7 +51,7 @@ const (
// Connectivity defaults.
defaultMaxPendingPeers = 50
defaultDialRatio = 3
defaultDialRatio = 2
// This time limits inbound connection attempts per source IP.
inboundThrottleTime = 30 * time.Second