mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 22:44:24 +00:00
Fix some golangci-lint warnings (#4448)
This commit is contained in:
+2
-2
@@ -42,7 +42,7 @@ func (pkz privKeys) Extend(n int) privKeys {
|
||||
}
|
||||
|
||||
// GenSecpPrivKeys produces an array of secp256k1 private keys to generate commits.
|
||||
func GenSecpPrivKeys(n int) privKeys {
|
||||
func genSecpPrivKeys(n int) privKeys {
|
||||
res := make(privKeys, n)
|
||||
for i := range res {
|
||||
res[i] = secp256k1.GenPrivKey()
|
||||
@@ -52,7 +52,7 @@ func GenSecpPrivKeys(n int) privKeys {
|
||||
|
||||
// ExtendSecp adds n more secp256k1 keys (to remove, just take a slice).
|
||||
func (pkz privKeys) ExtendSecp(n int) privKeys {
|
||||
extra := GenSecpPrivKeys(n)
|
||||
extra := genSecpPrivKeys(n)
|
||||
return append(pkz, extra...)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user