aboutsummaryrefslogtreecommitdiffstats
path: root/routes/bitcoin
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-01-25 13:21:42 -0500
committerAdam Soltys <[email protected]>2021-01-25 13:21:42 -0500
commite671baeb092ea6523027118bd1bba7bd85290823 (patch)
tree35fb477fc9daa13caf3c58d52476a0c363e1a06c /routes/bitcoin
parent5f7a63c72883590c2fa538c5942064e6f6a13b09 (diff)
downloadcoinos-server-e671baeb092ea6523027118bd1bba7bd85290823.tar.gz
coinos-server-e671baeb092ea6523027118bd1bba7bd85290823.zip
check for payment account
Diffstat (limited to 'routes/bitcoin')
-rw-r--r--routes/bitcoin/receive.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/bitcoin/receive.js b/routes/bitcoin/receive.js
index 2a6a7954..30a3852a 100644
--- a/routes/bitcoin/receive.js
+++ b/routes/bitcoin/receive.js
@@ -155,7 +155,7 @@ setInterval(async () => {
const { user } = p;
- if (p) {
+ if (p && p.account) {
let total = p.amount + p.tip;
p.confirmed = 1;