fixes after my second review

This commit is contained in:
Anton Kaliaev
2019-02-07 17:17:57 +04:00
parent 165bb2abfe
commit ebe8625478
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ func TestEndBlockValidatorUpdates(t *testing.T) {
assert.EqualValues(t, 10, event.ValidatorUpdates[0].VotingPower)
}
case <-updatesSub.Cancelled():
t.Fatal(fmt.Sprintf("updatesSub was cancelled (reason: %v)", updatesSub.Err()))
t.Fatalf("updatesSub was cancelled (reason: %v)", updatesSub.Err())
case <-time.After(1 * time.Second):
t.Fatal("Did not receive EventValidatorSetUpdates within 1 sec.")
}