lnwallet: add no cache option to web api estimator

This commit is contained in:
Joost Jager committed 2020-09-14 11:51:03 +02:00
1 parent 23cd2f40eb
commit 166be979dd
3 files changed
+23 -2

No files matched your search

+1 -1
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)