Skip to content

Commit

Permalink
Merge pull request #105 from ethpandaops/pk910/fix-slashings
Browse files Browse the repository at this point in the history
fix rendering of attester slashings
  • Loading branch information
pk910 authored Aug 19, 2024
2 parents cf473d5 + 7acc146 commit 2995adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/slot.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ func getSlotPageBlockData(blockData *services.CombinedBlockResponse, epochStatsV
pageData.AttesterSlashings = make([]*models.SlotPageAttesterSlashing, pageData.AttesterSlashingsCount)
for i, slashing := range attesterSlashings {
att1, _ := slashing.Attestation1()
att2, _ := slashing.Attestation1()
att2, _ := slashing.Attestation2()
if att1 == nil || att2 == nil {
continue
}
Expand Down

0 comments on commit 2995adc

Please sign in to comment.