mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-23 16:13:20 +00:00
Disable onchian nostr tag
This commit is contained in:
@ -109,7 +109,9 @@ class Nostr:
|
|||||||
return "success"
|
return "success"
|
||||||
|
|
||||||
def get_layer_tag(self, order):
|
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"]
|
return ["onchain", "lightning"]
|
||||||
else:
|
else:
|
||||||
return ["lightning"]
|
return ["lightning"]
|
||||||
|
Reference in New Issue
Block a user