Skip to content

Commit

Permalink
wrap error when deleting operator data
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Oct 17, 2024
1 parent a77c3d3 commit e8660f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/eventhandler/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (eh *EventHandler) handleOperatorRemoved(txn basedb.Txn, event *contract.Co

err = eh.nodeStorage.DeleteOperatorData(txn, od.ID)
if err != nil {
return err
return fmt.Errorf("delete operator data: %w", err)
}

var modifiedShares []*ssvtypes.SSVShare
Expand Down

0 comments on commit e8660f2

Please sign in to comment.