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