fix lint.
This commit is contained in:
parent
941ef84b71
commit
d38bdcebfd
@ -323,8 +323,8 @@ func TestGetBlockByNumber(t *testing.T) {
|
||||
defer cancel()
|
||||
ch, err := client.ChainNotify(tctx)
|
||||
require.NoError(t, err)
|
||||
hc := <-ch // current
|
||||
hc = <-ch // wait for next block
|
||||
<-ch // current
|
||||
hc := <-ch // wait for next block
|
||||
require.Equal(t, store.HCApply, hc[0].Type)
|
||||
|
||||
afterNullHeight := hc[0].Val.Height()
|
||||
|
Loading…
Reference in New Issue
Block a user