From 3b81b968df792b31a8f9fa8f836c51a38eedc905 Mon Sep 17 00:00:00 2001 From: koalasat Date: Wed, 7 Aug 2024 16:19:12 +0200 Subject: [PATCH] Async in nostr --- api/nostr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/nostr.py b/api/nostr.py index bfc45c162..c2241fe96 100644 --- a/api/nostr.py +++ b/api/nostr.py @@ -49,7 +49,7 @@ def generate_tags(self, order, robot_name): tags = [ ["d", uuid.UUID(hashed_id)], ["name", robot_name], - ["k", order.type.lower()], + ["k", "sell" if order.type == Order.Types.SELL else "buy"], ["f", order.currency], ["s", self.get_status_tag(order)], ["amt", "0"],