Skip to content

Commit

Permalink
[node.sh] fix max bls key count 10 cannot be reached
Browse files Browse the repository at this point in the history
  • Loading branch information
JackyWYX authored and Leo Chen committed Jul 30, 2020
1 parent 19db99d commit e435349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/harmony/bls.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func loadBLSKeys() (multibls.PrivateKeys, error) {
if len(keys) == 0 {
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 keys, err
Expand Down

0 comments on commit e435349

Please sign in to comment.