From 7e479841a96d0eb57d25f11119f7f69abca41d68 Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Thu, 21 Jun 2018 13:34:51 +0200 Subject: [PATCH] Fixed TestGetMempoolEntry --- bchain/tests/rpc/rpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bchain/tests/rpc/rpc.go b/bchain/tests/rpc/rpc.go index 4c39de7c..9cee0ac8 100644 --- a/bchain/tests/rpc/rpc.go +++ b/bchain/tests/rpc/rpc.go @@ -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 {