Skip to content

Commit

Permalink
small
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Mar 8, 2024
1 parent 3787ea2 commit cc5505a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions process/accountProcessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -517,12 +517,7 @@ func (ap *AccountProcessor) getObserversForAddress(address string, availability
return nil, err
}

observers, err := ap.proc.GetObservers(shardID, availability)
if err != nil {
return nil, err
}

return observers, nil
return ap.proc.GetObservers(shardID, availability)
}

// GetBaseProcessor returns the base processor
Expand Down

0 comments on commit cc5505a

Please sign in to comment.