Amount -> Power. Closes #166

This commit is contained in:
Ethan Buchman
2017-09-21 14:59:27 -04:00
parent 5feeb65cf0
commit 3089bbf2b8
15 changed files with 42 additions and 36 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ func initFiles(cmd *cobra.Command, args []string) {
}
genDoc.Validators = []types.GenesisValidator{types.GenesisValidator{
PubKey: privValidator.PubKey,
Amount: 10,
Power: 10,
}}
genDoc.SaveAs(genFile)
+2 -2
View File
@@ -7,8 +7,8 @@ import (
"github.com/spf13/cobra"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/tendermint/types"
cmn "github.com/tendermint/tmlibs/common"
)
var testnetFilesCmd = &cobra.Command{
@@ -48,7 +48,7 @@ func testnetFiles(cmd *cobra.Command, args []string) {
privVal := types.LoadPrivValidator(privValFile)
genVals[i] = types.GenesisValidator{
PubKey: privVal.PubKey,
Amount: 1,
Power: 1,
Name: mach,
}
}