Skip to content

Commit

Permalink
fix rendering of attester slashings
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Aug 19, 2024
1 parent ca2eafc commit 7acc146
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 7acc146

Please sign in to comment.