change delta's type from int to int64

This commit is contained in:
Anton Kaliaev
2017-12-02 11:48:09 -06:00
parent cd5a5d332f
commit d41c0b10c8
2 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ func TestWaitForHeight(t *testing.T) {
// since we can't update in a background goroutine (test --race)
// we use the callback to update the status height
myWaiter := func(delta int) error {
myWaiter := func(delta int64) error {
// update the height for the next call
m.Call.Response = &ctypes.ResultStatus{LatestBlockHeight: 15}
return client.DefaultWaitStrategy(delta)