Skip to content

Commit

Permalink
(NOBIDS) Merge branch 'master' of github.com:gobitfly/eth2-beaconchai…
Browse files Browse the repository at this point in the history
…n-explorer
  • Loading branch information
peterbitfly committed Sep 28, 2023
2 parents 2da939e + 172bdcb commit ac5a15b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handlers/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,9 @@ func Validator(w http.ResponseWriter, r *http.Request) {
FROM validators
LEFT JOIN rocketpool_minipools rplm ON rplm.pubkey = validators.pubkey
LEFT JOIN rocketpool_nodes rpln ON rplm.node_address = rpln.address
WHERE validators.validatorindex = $1`, index)
WHERE validators.validatorindex = $1
ORDER BY rplm.status_time DESC
LIMIT 1`, index)
if err == nil && (validatorPageData.Rocketpool.MinipoolAddress != nil || validatorPageData.Rocketpool.NodeAddress != nil) {
validatorPageData.IsRocketpool = true
if utils.Config.Chain.Config.DepositChainID == 1 {
Expand Down

0 comments on commit ac5a15b

Please sign in to comment.