From 6b599902c036bdba8350c6d715b98482b06c3812 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Tue, 8 Mar 2022 21:27:21 +0000 Subject: [PATCH] Don't use the asset name in references --- handler/transactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/transactions.py b/handler/transactions.py index 4d90956..e7365bd 100644 --- a/handler/transactions.py +++ b/handler/transactions.py @@ -193,7 +193,7 @@ class Transactions(util.Base): Store details in Redis, generate a reference and optionally let the customer know the reference. """ reference = "".join(choices(ascii_uppercase, k=5)) - reference = f"{asset}-{reference}" + reference = f"PGN-{reference}" existing_ref = r.get(f"trade.{trade_id}.reference") if not existing_ref: r.set(f"trade.{trade_id}.reference", reference)