|
|
@ -56,7 +56,7 @@ func loadBLSKeys() (multibls.PrivateKeys, error) { |
|
|
|
if len(keys) == 0 { |
|
|
|
if len(keys) == 0 { |
|
|
|
return nil, fmt.Errorf("0 bls keys loaded") |
|
|
|
return nil, fmt.Errorf("0 bls keys loaded") |
|
|
|
} |
|
|
|
} |
|
|
|
if len(keys) >= *maxBLSKeysPerNode { |
|
|
|
if len(keys) > *maxBLSKeysPerNode { |
|
|
|
return nil, fmt.Errorf("bls keys exceed maximum count %v", *maxBLSKeysPerNode) |
|
|
|
return nil, fmt.Errorf("bls keys exceed maximum count %v", *maxBLSKeysPerNode) |
|
|
|
} |
|
|
|
} |
|
|
|
return keys, err |
|
|
|
return keys, err |
|
|
|