Fixed TestGetMempoolEntry

This commit is contained in:
Jakub Matys 2018-06-21 13:34:51 +02:00
parent 86f814e95f
commit 7e479841a9

View File

@ -269,7 +269,7 @@ func (rt *Test) TestGetMempoolEntry(t *testing.T) {
}
}
if e.Height != h {
if e.Height-h > 1 {
t.Errorf("GetMempoolEntry() got height %d, want %d", e.Height, h)
}
if e.Size <= 0 {