From 20273701d1cf75ef7540ba2e7b90554c0b17c41c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 23 Apr 2021 00:44:23 -0400 Subject: change cors setting --- routes/payments.js | 2 +- routes/users.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'routes') 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(); } -- cgit v1.2.3