mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-22 23:33:38 +00:00
Disable onchian nostr tag
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user