diff options
| author | Adam Soltys <[email protected]> | 2020-01-13 16:06:56 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-01-13 16:06:56 -0800 |
| commit | 9c2a909dc707c3f2baad8f86cbeea54606dbea41 (patch) | |
| tree | ff23f0f8dba4338e1f19ae7b1048e52f00dc7780 /index.js | |
| parent | a5a96f451f559f4f7f27529d2e5f44b0bb84d0e5 (diff) | |
| download | coinos-server-9c2a909dc707c3f2baad8f86cbeea54606dbea41.tar.gz coinos-server-9c2a909dc707c3f2baad8f86cbeea54606dbea41.zip | |
liquid receiving support
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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({ |
