Merge PR #4292: Fix Signing Infos Endpoint

This commit is contained in:
Alexander Bezobchuk
2019-05-09 13:38:15 -04:00
committed by GitHub
parent 85ffce5f58
commit 925070ae38
14 changed files with 184 additions and 162 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ func TestJailedValidatorDelegations(t *testing.T) {
staking.EndBlocker(ctx, stakingKeeper)
// set dummy signing info
newInfo := NewValidatorSigningInfo(0, 0, time.Unix(0, 0), false, 0)
newInfo := NewValidatorSigningInfo(consAddr, 0, 0, time.Unix(0, 0), false, 0)
slashingKeeper.SetValidatorSigningInfo(ctx, consAddr, newInfo)
// delegate tokens to the validator