aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-18 15:50:15 -0700
committerAdam Soltys <[email protected]>2020-05-18 15:50:15 -0700
commit4231a8edd7456443b6ac57f09cf57b48825f102f (patch)
tree09469905a71a8bf46abf06d5e8a2de0440871e87
parente9ad3180d9bf87ddec7c2ad6e180899bb651517c (diff)
downloadcoinos-server-4231a8edd7456443b6ac57f09cf57b48825f102f.tar.gz
coinos-server-4231a8edd7456443b6ac57f09cf57b48825f102f.zip
fix variable name
-rw-r--r--routes/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/assets.js b/routes/assets.js
index c17b18aa..db387595 100644
--- a/routes/assets.js
+++ b/routes/assets.js
@@ -71,7 +71,7 @@ app.post("/assets", auth, async (req, res) => {
});
if (Math.round(funded.fee * SATS) > account.balance) {
- l.error("amount exceeds balance", amount, fee, account.balance);
+ l.error("amount exceeds balance", asset_amount, fee, account.balance);
throw new Error("insufficient funds");
}