From 01e85e75fa5c7de4b730d7dc440652a295703dba Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 30 Apr 2021 18:06:46 -0400 Subject: estimate fee during send if no tx provided --- routes/swaps.js | 1 + 1 file changed, 1 insertion(+) (limited to 'routes/swaps.js') diff --git a/routes/swaps.js b/routes/swaps.js index 385d7e84..6af3cac5 100644 --- a/routes/swaps.js +++ b/routes/swaps.js @@ -447,6 +447,7 @@ app.post( "/orders", auth, ah(async (req, res) => { + return res.status(500).send("Trading temporarily disabled"); const { user } = req; try { await swap(user, req.body); -- cgit v1.2.3