Update neo-go to v0.103.0 #752

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:update-neogo into master 2024-09-04 19:51:03 +00:00
Showing only changes of commit 9f7c2d8810 - Show all commits

View file

@ -110,15 +110,11 @@ func (s *innerRingIndexer) AlphabetIndex() (int32, error) {
// keyPosition returns "-1" if key is not found in the list, otherwise returns
// index of the key.
func keyPosition(key *keys.PublicKey, list keys.PublicKeys) (result int32) {
result = -1
func keyPosition(key *keys.PublicKey, list keys.PublicKeys) int32 {
for i := range list {
if key.Equal(list[i]) {
result = int32(i)
break
return int32(i)
}
}
return result
return -1
}