diff options
| author | Adrien Hopkins <[email protected]> | 2022-06-06 07:14:45 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-06-06 07:14:45 -0500 |
| commit | a2d2caf5eb29c6c804301e1faedd96856d57fcdc (patch) | |
| tree | 930257d4ab30f89d3929e969739624758c815af5 /routes/send.js | |
| parent | c3a28b2d1b1c902f7b691d5fefe70cda573d954f (diff) | |
| parent | 47aeb5f041db40ef964116bbb4fe22ee8e8f64dd (diff) | |
| download | coinos-server-a2d2caf5eb29c6c804301e1faedd96856d57fcdc.tar.gz coinos-server-a2d2caf5eb29c6c804301e1faedd96856d57fcdc.zip | |
Merge branch 'master' into feature-withdrawal-fee
Diffstat (limited to 'routes/send.js')
| -rw-r--r-- | routes/send.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/send.js b/routes/send.js index 5f1151c5..4c8afa34 100644 --- a/routes/send.js +++ b/routes/send.js @@ -61,7 +61,7 @@ module.exports = ah(async (req, res, next) => { rate: app.get("rates")[user.currency], currency: user.currency, confirmed: true, - hash: username ? `Payment to ${username}` : "Internal Transfer", + hash: `#${uuidv4().substr(0, 6)} ${(username ? `Payment to ${username}` : "Internal Transfer")}`, network: "COINOS" }; @@ -165,7 +165,7 @@ module.exports = ah(async (req, res, next) => { rate: app.get("rates")[recipient.currency] * spread, currency: recipient.currency, confirmed: true, - hash: "Payment from " + user.username, + hash: `#${uuidv4().substr(0,6)} Payment from ${user.username}`, memo, network: "COINOS", received: true |
