aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-01-13 16:06:56 -0800
committerAdam Soltys <[email protected]>2020-01-13 16:06:56 -0800
commit9c2a909dc707c3f2baad8f86cbeea54606dbea41 (patch)
treeff23f0f8dba4338e1f19ae7b1048e52f00dc7780 /index.js
parenta5a96f451f559f4f7f27529d2e5f44b0bb84d0e5 (diff)
downloadcoinos-server-9c2a909dc707c3f2baad8f86cbeea54606dbea41.tar.gz
coinos-server-9c2a909dc707c3f2baad8f86cbeea54606dbea41.zip
liquid receiving support
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.js b/index.js
index f13e666a..aab88b93 100644
--- a/index.js
+++ b/index.js
@@ -35,9 +35,10 @@ const l = console.log;
const seen = [];
const addresses = {};
await db.User.findAll({
- attributes: ["username", "address"]
+ attributes: ["username", "address", "liquid"]
}).map(u => {
addresses[u.address] = u.username;
+ if (u.liquid) addresses[u.liquid] = u.username;
});
const payments = (await db.Payment.findAll({