From c9a977beae4b1262e5087e49bfb9520e37334870 Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Mon, 11 Jun 2018 03:15:48 +0200 Subject: [PATCH] Cleanup testcase --- x/slashing/app_test.go | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/x/slashing/app_test.go b/x/slashing/app_test.go index 9253765d5..3d33f53e7 100644 --- a/x/slashing/app_test.go +++ b/x/slashing/app_test.go @@ -18,16 +18,7 @@ import ( var ( priv1 = crypto.GenPrivKeyEd25519() addr1 = priv1.PubKey().Address() - priv2 = crypto.GenPrivKeyEd25519() - addr2 = priv2.PubKey().Address() - addr3 = crypto.GenPrivKeyEd25519().PubKey().Address() - priv4 = crypto.GenPrivKeyEd25519() - addr4 = priv4.PubKey().Address() coins = sdk.Coins{{"foocoin", 10}} - fee = auth.StdFee{ - sdk.Coins{{"foocoin", 0}}, - 100000, - } ) // initialize the mock application for this module @@ -95,12 +86,7 @@ func TestSlashingMsgs(t *testing.T) { Address: addr1, Coins: sdk.Coins{genCoin}, } - acc2 := &auth.BaseAccount{ - Address: addr2, - Coins: sdk.Coins{genCoin}, - } - accs := []auth.Account{acc1, acc2} - + accs := []auth.Account{acc1} mock.SetGenesis(mapp, accs) description := stake.NewDescription("foo_moniker", "", "", "") createValidatorMsg := stake.NewMsgCreateValidator(