diff options
| author | Adam Soltys <[email protected]> | 2021-08-30 15:21:20 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-08-30 16:03:09 -0700 |
| commit | a95d1e05bdcf71a3f3fb5580cffccbbe971b0cda (patch) | |
| tree | a858e1bbd5f6c4211344c334468bf3a2f579237c /routes | |
| parent | c6dc858ee5491e6c584d94d702438e9b24adbfc7 (diff) | |
| download | coinos-server-a95d1e05bdcf71a3f3fb5580cffccbbe971b0cda.tar.gz coinos-server-a95d1e05bdcf71a3f3fb5580cffccbbe971b0cda.zip | |
existing account lookup can include custodial accountsdev
Diffstat (limited to 'routes')
| -rw-r--r-- | routes/liquid/receive.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/liquid/receive.js b/routes/liquid/receive.js index e1310191..31cddbef 100644 --- a/routes/liquid/receive.js +++ b/routes/liquid/receive.js @@ -23,7 +23,7 @@ const getAccount = async (params, transaction) => { return account; } - let { asset, pubkey } = params; + let { asset } = params; let name = asset.substr(0, 6); let domain = ""; let ticker = asset.substr(0, 3).toUpperCase(); @@ -37,7 +37,6 @@ const getAccount = async (params, transaction) => { const existing = await db.Account.findOne({ where: { asset, - pubkey, }, order: [["id", "ASC"]], limit: 1, |
