From 996eee0dbc71d4c69839e17f94c22175f648ed83 Mon Sep 17 00:00:00 2001 From: koalasat Date: Tue, 29 Apr 2025 12:24:51 +0200 Subject: [PATCH] Disable onchian nostr tag --- api/nostr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/nostr.py b/api/nostr.py index 63174c7e..ada3513b 100644 --- a/api/nostr.py +++ b/api/nostr.py @@ -109,7 +109,9 @@ class Nostr: return "success" def get_layer_tag(self, order): - if order.type == Order.Types.SELL: + if order.type == Order.Types.SELL and not config( + "DISABLE_ONCHAIN", cast=bool, default=True + ): return ["onchain", "lightning"] else: return ["lightning"]