Extend range of valid estimateSmartFee in test of logged socket.io

This commit is contained in:
Martin Boehm 2018-05-14 15:47:47 +02:00
parent 56c1c85b1a
commit 993fe001e4

View File

@ -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, // it is not possible to compare fee directly, it changes over time,
// verify that the BB fee is in a reasonable range // 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++ stat.SuccessCount++
} else { } else {
t.Log("estimateSmartFee", id, "mismatch bb:", bbResponse.Result, t.Log("estimateSmartFee", id, "mismatch bb:", bbResponse.Result,