Skip to content

Commit

Permalink
fix double self calculation differently
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Oct 31, 2024
1 parent 93b3aa5 commit ba53fe1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eth/eventhandler/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func (eh *EventHandler) handleOperatorAdded(txn basedb.Txn, event *contract.Cont
for _, shareMember := range share.Committee {
if shareMember.Signer == event.OperatorId {
existingOperatorsCount++
continue
}

_, ok, err := eh.nodeStorage.GetOperatorData(txn, shareMember.Signer)
Expand Down

0 comments on commit ba53fe1

Please sign in to comment.