Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMahe committed Sep 27, 2019
1 parent e29f526 commit 42ebfc4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
20 changes: 0 additions & 20 deletions cosmos/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/genaccounts"
"github.com/cosmos/cosmos-sdk/x/genutil"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/mesg-foundation/engine/config"
"github.com/mesg-foundation/engine/logger"
tmconfig "github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/crypto/ed25519"
"github.com/tendermint/tendermint/node"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/privval"
Expand Down Expand Up @@ -85,21 +83,3 @@ func genesisLoader(cdc *codec.Codec, appState map[string]json.RawMessage, chainI
return genesis, nil
}
}

func newMsgCreateValidator(valAddr sdktypes.ValAddress, validatorPubKey ed25519.PubKeyEd25519, moniker string) sdktypes.Msg {
return stakingtypes.NewMsgCreateValidator(
valAddr,
validatorPubKey,
sdktypes.NewCoin(sdktypes.DefaultBondDenom, sdktypes.TokensFromConsensusPower(100)),
stakingtypes.Description{
Moniker: moniker,
Details: "create-first-validator",
},
stakingtypes.NewCommissionRates(
sdktypes.ZeroDec(),
sdktypes.ZeroDec(),
sdktypes.ZeroDec(),
),
sdktypes.NewInt(1),
)
}
2 changes: 0 additions & 2 deletions internal/tools/gen_genesis_validator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ import (
"github.com/tendermint/tendermint/crypto/ed25519"
)

const mnemonicEntropySize = 256

func main() {
name := flag.String("name", "", "")
password := flag.String("password", "", "")
Expand Down

0 comments on commit 42ebfc4

Please sign in to comment.