Skip to content

Commit

Permalink
add forgotten check
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Jul 16, 2024
1 parent 2e2aafe commit 7f673f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eth/eventhandler/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,9 @@ func (eh *EventHandler) handleValidatorExited(txn basedb.Txn, event *contract.Co
ValidatorIndex: share.BeaconMetadata.Index,
BlockNumber: event.Raw.BlockNumber,
}
if share.BelongsToOperator(eh.operatorDataStore.GetOperatorID()) {
ed.OwnValidator = true
}

return ed, nil
}
Expand Down

0 comments on commit 7f673f6

Please sign in to comment.