From 0867ce8656a20e8d5e5ce0b788f364c7cbf94539 Mon Sep 17 00:00:00 2001 From: rigelrozanski Date: Thu, 20 Sep 2018 20:23:07 -0400 Subject: [PATCH] ... --- x/stake/keeper/slash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/stake/keeper/slash_test.go b/x/stake/keeper/slash_test.go index 0086b529c..c4a1edd41 100644 --- a/x/stake/keeper/slash_test.go +++ b/x/stake/keeper/slash_test.go @@ -474,7 +474,7 @@ func TestSlashBoth(t *testing.T) { oldPool := keeper.GetPool(ctx) validator, found := keeper.GetValidatorByConsPubKey(ctx, PKs[0]) require.True(t, found) - consAddr0 := sdk.ConsAddres(PKs[0].Address()) + consAddr0 := sdk.ConsAddress(PKs[0].Address()) keeper.Slash(ctx, consAddr0, 10, 10, fraction) // read updating redelegation