mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Fix a bunch of deepsource warnings (#11814)
This commit is contained in:
@@ -130,7 +130,7 @@ func NextForkData(currEpoch types.Epoch) ([4]byte, types.Epoch, error) {
|
||||
fSchedule := params.BeaconConfig().ForkVersionSchedule
|
||||
sortedForkVersions := SortedForkVersions(fSchedule)
|
||||
nextForkEpoch := types.Epoch(math.MaxUint64)
|
||||
nextForkVersion := [4]byte{}
|
||||
var nextForkVersion [4]byte
|
||||
for _, forkVersion := range sortedForkVersions {
|
||||
epoch, ok := fSchedule[forkVersion]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user