Disable onchian nostr tag

This commit is contained in:
koalasat
2025-04-29 12:24:51 +02:00
parent 32ac3b9258
commit 996eee0dbc

View File

@ -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"]