[monitor] move to int64 for height

This commit is contained in:
Anton Kaliaev
2018-04-03 13:02:09 +02:00
parent d831b443da
commit 5a211ff791
5 changed files with 14 additions and 14 deletions

View File

@ -13,7 +13,7 @@ func TestNetworkNewBlock(t *testing.T) {
n := monitor.NewNetwork()
n.NewBlock(tmtypes.Header{Height: 5, NumTxs: 100})
assert.Equal(t, uint64(5), n.Height)
assert.Equal(t, int64(5), n.Height)
assert.Equal(t, 0.0, n.AvgBlockTime)
assert.Equal(t, 0.0, n.AvgTxThroughput)
}