Merge pull request #1892 from RoboSats/disable-onchain-nostr-tag

Disable onchian nostr tag
This commit is contained in:
KoalaSat
2025-04-29 10:25:56 +00:00
committed by GitHub

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