forked from TrueCloudLab/frostfs-contract
[#58] neofs: Do not limit initial inner ring key amount
Environment with single inner ring node is legal. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
5e28938286
commit
d5e230e031
1 changed files with 2 additions and 2 deletions
|
@ -88,8 +88,8 @@ func Init(owner interop.PublicKey, args []interop.PublicKey) bool {
|
|||
|
||||
var irList []common.IRNode
|
||||
|
||||
if len(args) < 3 {
|
||||
panic("neofs: at least three inner ring keys must be provided")
|
||||
if len(args) == 0 {
|
||||
panic("neofs: at least one inner ring key must be provided")
|
||||
}
|
||||
|
||||
for i := 0; i < len(args); i++ {
|
||||
|
|
Loading…
Reference in a new issue