aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/payments.js2
-rw-r--r--routes/payments.js4
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/payments.js b/lib/payments.js
index b2c01e2f..9618c30f 100644
--- a/lib/payments.js
+++ b/lib/payments.js
@@ -422,7 +422,7 @@ let catchUp = async () => {
seen.push(txid);
} catch (e) {
- err("problem confirming", e.message);
+ err("problem confirming", e.message);
}
}
} catch (e) {
diff --git a/routes/payments.js b/routes/payments.js
index b40419fa..33544fd7 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -283,7 +283,9 @@ export default {
body.amount,
body.address,
);
- bail(res, "problem estimating fee");
+ let msg = e.message;
+ if (msg.includes("500")) msg = "";
+ bail(res, "problem estimating fee " + msg);
}
},