forked from TrueCloudLab/frostfs-contract
[#24] neofs: Fix for
iterator on updated inner ring list
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
a8d55d9166
commit
76f5943c14
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ func InnerRingUpdate(chequeID []byte, args [][]byte) bool {
|
||||||
newIR := []node{}
|
newIR := []node{}
|
||||||
|
|
||||||
loop:
|
loop:
|
||||||
for i := 1; i < len(args); i++ {
|
for i := 0; i < len(args); i++ {
|
||||||
key := args[i]
|
key := args[i]
|
||||||
if len(key) != publicKeySize {
|
if len(key) != publicKeySize {
|
||||||
panic("irUpdate: invalid public key in inner ring list")
|
panic("irUpdate: invalid public key in inner ring list")
|
||||||
|
|
Loading…
Reference in a new issue