From 30923fc98ccc0cb52d4cb3165301aaec55ecad4c Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 17 Apr 2025 10:43:46 +0200 Subject: [PATCH] Update simulated_beacon.go --- eth/catalyst/simulated_beacon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/catalyst/simulated_beacon.go b/eth/catalyst/simulated_beacon.go index 3f6d956a46..b84df9a4d6 100644 --- a/eth/catalyst/simulated_beacon.go +++ b/eth/catalyst/simulated_beacon.go @@ -128,7 +128,7 @@ func NewSimulatedBeacon(period uint64, feeRecipient common.Address, eth *eth.Eth // cap the dev mode period to a reasonable maximum value to avoid // overflowing the time.Duration (int64) that it will occupy - const maxPeriod = math.MaxInt64 / time.Second + const maxPeriod = uint64(math.MaxInt64 / time.Second) return &SimulatedBeacon{ eth: eth, period: min(period, maxPeriod),