Skip to content

Commit

Permalink
Update x/observer/types/observer_set.go
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
kingpinXD and coderabbitai[bot] authored Aug 9, 2024
1 parent 8f4068d commit c4b4eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/observer/types/observer_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (m *ObserverSet) Validate() error {
for _, observerAddress := range m.ObserverList {
_, err := sdk.AccAddressFromBech32(observerAddress)
if err != nil {
return err
return errors.Wrapf(err, "invalid observer address: %s", observerAddress)
}
}
// Check for duplicates
Expand Down

0 comments on commit c4b4eac

Please sign in to comment.