Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
j75689 committed Jul 7, 2023
1 parent f696eea commit f9c9b85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions testutil/sims/address_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ func CreateTestPubKeys(numPubKeys int) []cryptotypes.PubKey {

// CreateTestAccounts returns number of PubKey, PrivKey
func CreateTestAccounts(num int) ([]cryptotypes.PubKey, []cryptotypes.PrivKey) {
var publicKeys = make([]cryptotypes.PubKey, 0, num)
var privateKeys = make([]cryptotypes.PrivKey, 0, num)
publicKeys := make([]cryptotypes.PubKey, 0, num)
privateKeys := make([]cryptotypes.PrivKey, 0, num)
for i := 0; i < num; i++ {
privKey, _ := ethsecp256k1.GenPrivKey()
publicKeys = append(publicKeys, privKey.PubKey())
Expand Down
1 change: 0 additions & 1 deletion x/staking/types/msg.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ func (msg MsgCreateValidator) ValidateBasic() error {
}

if len(msg.BlsProof) != 2*ethcrypto.SignatureLength {

return ErrValidatorInvalidBlsProof
}

Expand Down

0 comments on commit f9c9b85

Please sign in to comment.