aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-04-23 00:44:23 -0400
committerAdam Soltys <[email protected]>2021-04-27 18:07:15 -0400
commit20273701d1cf75ef7540ba2e7b90554c0b17c41c (patch)
tree3543e736c52a6d39253c5f3e1266abe565477e0e /routes/payments.js
parent2621fec1c189b6de5e3bd2b86b391443ccd7a8a7 (diff)
downloadcoinos-server-20273701d1cf75ef7540ba2e7b90554c0b17c41c.tar.gz
coinos-server-20273701d1cf75ef7540ba2e7b90554c0b17c41c.zip
change cors setting
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 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);