aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");
}