From 993fe001e4989d4b61049e50fbb27ca740ed62af Mon Sep 17 00:00:00 2001 From: Martin Boehm Date: Mon, 14 May 2018 15:47:47 +0200 Subject: [PATCH] Extend range of valid estimateSmartFee in test of logged socket.io --- server/socketio_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/socketio_test.go b/server/socketio_test.go index 21b38465..c7a6ce53 100644 --- a/server/socketio_test.go +++ b/server/socketio_test.go @@ -201,7 +201,7 @@ func verifyEstimateSmartFee(t *testing.T, id int, lrs *logRequestResponse, bbRes } // it is not possible to compare fee directly, it changes over time, // verify that the BB fee is in a reasonable range - if bbResponse.Result > 0 && bbResponse.Result < 1e-3 { + if bbResponse.Result > 0 && bbResponse.Result < .1 { stat.SuccessCount++ } else { t.Log("estimateSmartFee", id, "mismatch bb:", bbResponse.Result,