Skip to content

Commit 1e05376

Browse files
authored
Refactor totalTokenAmt to freeIrisAcc
1 parent f4460f4 commit 1e05376

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/genesis.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ var (
5959
// bonded tokens given to genesis validators/accounts
6060
freeFermionVal = int64(100)
6161

62-
totalTokenAmt = sdk.NewInt(100)
62+
// loose tokens given to genesis validators/accounts
63+
freeIrisAcc = sdk.NewInt(100)
6364
)
6465

6566
const defaultUnbondingTime int64 = 60 * 10
@@ -163,7 +164,7 @@ func IrisAppGenState(cdc *wire.Codec, appGenTxs []json.RawMessage) (genesisState
163164
// create the genesis account, give'm few steaks and a buncha token with there name
164165
accAuth := auth.NewBaseAccountWithAddress(genTx.Address)
165166
accAuth.Coins = sdk.Coins{
166-
{denom, totalTokenAmt},
167+
{denom, freeIrisAcc},
167168
}
168169
acc := NewGenesisAccount(&accAuth)
169170
genaccs[i] = acc

0 commit comments

Comments
 (0)