Fixed TestGetMempoolEntry
This commit is contained in:
parent
86f814e95f
commit
7e479841a9
@ -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)
|
t.Errorf("GetMempoolEntry() got height %d, want %d", e.Height, h)
|
||||||
}
|
}
|
||||||
if e.Size <= 0 {
|
if e.Size <= 0 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user