lnwallet: add no cache option to web api estimator

This commit is contained in:
Joost Jager
2020-09-10 09:05:54 +02:00
parent 23cd2f40eb
commit 166be979dd
3 changed files with 23 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ func TestWebAPIFeeEstimator(t *testing.T) {
fees: testFees,
}
estimator := NewWebAPIEstimator(feeSource)
estimator := NewWebAPIEstimator(feeSource, false)
// Test that requesting a fee when no fees have been cached fails.
_, err := estimator.EstimateFeePerKW(5)