aboutsummaryrefslogtreecommitdiffstats
path: root/routes/send.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/send.js')
-rw-r--r--routes/send.js4
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