aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-02-10 09:57:00 -0500
committerAdam Soltys <[email protected]>2021-02-10 09:57:00 -0500
commit9d4e7bee7d884fba7da27df7180390bad9a80bdc (patch)
treea99e8e112558f527eef9b98914bb52f52b0c07ee /routes
parente671baeb092ea6523027118bd1bba7bd85290823 (diff)
downloadcoinos-server-9d4e7bee7d884fba7da27df7180390bad9a80bdc.tar.gz
coinos-server-9d4e7bee7d884fba7da27df7180390bad9a80bdc.zip
amount from pay request should take precedence if provided
Diffstat (limited to 'routes')
-rw-r--r--routes/liquid/send.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js
index 04b90814..01b1a41d 100644
--- a/routes/liquid/send.js
+++ b/routes/liquid/send.js
@@ -81,6 +81,7 @@ module.exports = ah(async (req, res) => {
pubkey: null
},
lock: transaction.LOCK.UPDATE,
+ order: [['balance', 'DESC']],
transaction
});