Skip to content

Commit

Permalink
fix index column in deposit overview
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jun 12, 2024
1 parent 9b01edd commit dbd8847
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions handlers/deposits.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ func buildDepositsPageData(firstEpoch uint64, pageSize uint64) (*models.Deposits
Orphaned: deposit.Orphaned,
}

if deposit.Index != nil {
depositData.HasIndex = true
depositData.Index = *deposit.Index
}

validator := validatorSetRsp[phase0.BLSPubKey(deposit.PublicKey)]
if validator == nil {
depositData.ValidatorStatus = "Deposited"
Expand Down

0 comments on commit dbd8847

Please sign in to comment.