mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 12:51:22 +00:00
uint64 height (Refs #911)
This commit is contained in:
committed by
Ethan Buchman
parent
b2489b4318
commit
b3492356e6
@ -53,7 +53,7 @@ func TestBlockEvents(t *testing.T) {
|
||||
}
|
||||
|
||||
// listen for a new block; ensure height increases by 1
|
||||
var firstBlockHeight int
|
||||
var firstBlockHeight uint64
|
||||
for j := 0; j < 3; j++ {
|
||||
evtTyp := types.EventNewBlock
|
||||
evt, err := client.WaitForOneEvent(c, evtTyp, waitForEventTimeout)
|
||||
@ -67,7 +67,7 @@ func TestBlockEvents(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
require.Equal(block.Header.Height, firstBlockHeight+j)
|
||||
require.Equal(block.Header.Height, firstBlockHeight+uint64(j))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user