[#705] innerring/governance: Delete useless sort

Do not sort slice that is already sorted.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-07-21 12:38:19 +03:00 committed by Alex Vanin
parent c8d58d56b9
commit dfbde0004e

View file

@ -44,7 +44,6 @@ func (gp *Processor) processAlphabetSync() {
} }
gp.log.Info("alphabet list has been changed, starting update") gp.log.Info("alphabet list has been changed, starting update")
sort.Sort(newAlphabet)
// 1. Vote to side chain committee via alphabet contracts. // 1. Vote to side chain committee via alphabet contracts.
err = gp.voter.VoteForSidechainValidator(newAlphabet) err = gp.voter.VoteForSidechainValidator(newAlphabet)