aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-01-03 00:42:32 +0000
committerAdam Soltys <[email protected]>2024-01-03 00:42:32 +0000
commit8bcf278790bb0c8e904215c1a563e301076fca14 (patch)
tree1def22a0e6236e23530f7174b0532ede6332a894 /routes
parenta028e295f84ca47d78a8578970ebabeb2199bff9 (diff)
downloadcoinos-server-8bcf278790bb0c8e904215c1a563e301076fca14.tar.gz
coinos-server-8bcf278790bb0c8e904215c1a563e301076fca14.zip
fee error message
Diffstat (limited to 'routes')
-rw-r--r--routes/payments.js4
1 files changed, 3 insertions, 1 deletions
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);
}
},