diff options
Diffstat (limited to 'lib/send.js')
| -rw-r--r-- | lib/send.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/send.js b/lib/send.js index 71209456..7850da08 100644 --- a/lib/send.js +++ b/lib/send.js @@ -1,6 +1,6 @@ const bolt11 = require("bolt11"); -send = async (amount, hash, user) => { +send = async (amount, memo, hash, user) => { let payreq = bolt11.decode(hash); if (!amount) amount = payreq.satoshis; @@ -93,6 +93,7 @@ send = async (amount, hash, user) => { account_id: account.id, user_id: user.id, hash, + memo, preimage, rate: app.get("rates")[user.currency], currency: user.currency, |
