summaryrefslogtreecommitdiffstats
path: root/src/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.js')
-rw-r--r--src/api.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.js b/src/api.js
index 76852d4..4a7dd75 100644
--- a/src/api.js
+++ b/src/api.js
@@ -593,7 +593,7 @@ export class Api {
// Esplora /fee-estimates is { blockTarget: sat/vB }. Map to the named tiers the
// UI expects. Round up so we never underpay.
-function mapEsploraFees(est) {
+export function mapEsploraFees(est) {
const at = (n, d) => Math.max(1, Math.ceil(est[n] || d));
return {
fastestFee: at(1, 10),