aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sync.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sync.js b/lib/sync.js
index 95abb99d..625d128d 100644
--- a/lib/sync.js
+++ b/lib/sync.js
@@ -197,6 +197,7 @@ const sync = async () => {
try {
await db.transaction(async transaction => {
+ l("confirming payment", p.id, p.user_id, p.hash, p.address);
await p.save({ transaction });
await p.account.increment({ balance: p.amount }, { transaction });
@@ -205,8 +206,6 @@ const sync = async () => {
emit(p.user.username, "account", p.account);
emit(p.user.username, "payment", p);
-
- l("unconfirmed tx", p.user_id, p.hash, p.address);
} catch (e) {
err("problem confirming payment", p, e.message, e.stack);
}