forked from TrueCloudLab/frostfs-node
[#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:
parent
c8d58d56b9
commit
dfbde0004e
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue