Skip to content

Commit 30923fc

Browse files
authored
Update simulated_beacon.go
1 parent fc45fee commit 30923fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/catalyst/simulated_beacon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func NewSimulatedBeacon(period uint64, feeRecipient common.Address, eth *eth.Eth
128128

129129
// cap the dev mode period to a reasonable maximum value to avoid
130130
// overflowing the time.Duration (int64) that it will occupy
131-
const maxPeriod = math.MaxInt64 / time.Second
131+
const maxPeriod = uint64(math.MaxInt64 / time.Second)
132132
return &SimulatedBeacon{
133133
eth: eth,
134134
period: min(period, maxPeriod),

0 commit comments

Comments
 (0)