aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/payments.js2
-rw-r--r--routes/users.js3
2 files changed, 2 insertions, 3 deletions
diff --git a/routes/payments.js b/routes/payments.js
index e8c82853..00eb1bb2 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -68,7 +68,7 @@ ah(async () => {
tx =>
tx.category === "receive" &&
tx.confirmations > 0 &&
- unconfirmed.includes(tx.address)
+ unconfirmed.includes(tx.txid)
)
.map(tx => {
l.warn("tx unconfirmed in db", tx.txid, tx.address);
diff --git a/routes/users.js b/routes/users.js
index d6dc68a7..47964887 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -337,8 +337,7 @@ app.post(
) {
l.warn(
"invalid username or password attempt",
- req.body.username,
- req.body.password
+ req.body.username
);
return res.status(401).end();
}