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

@@ -27,7 +27,7 @@ import (
)
func TestService_Constants(t *testing.T) {
if uint64(params.BeaconConfig().MaxPeersToSync)*flags.Get().BlockBatchLimit > uint64(1000) {
if params.BeaconConfig().MaxPeersToSync*flags.Get().BlockBatchLimit > 1000 {
t.Fatal("rpc rejects requests over 1000 range slots")
}
}