Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/trailofbits-4-duplicate-check-ob…
Browse files Browse the repository at this point in the history
…server-set' into trailofbits-4-duplicate-check-observer-set
  • Loading branch information
kingpinXD committed Aug 9, 2024
2 parents 29246cb + c4b4eac commit d4048a5
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 d4048a5

Please sign in to comment.