mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Merge pull request #1443 from RoboSats/use-nostr-as-cache-system
Fix fa nostr note tag
This commit is contained in:
commit
5244b2d769
@ -58,9 +58,12 @@ class Nostr:
|
|||||||
Tag.parse(["s", self.get_status_tag(order)]),
|
Tag.parse(["s", self.get_status_tag(order)]),
|
||||||
Tag.parse(["amt", "0"]),
|
Tag.parse(["amt", "0"]),
|
||||||
Tag.parse(
|
Tag.parse(
|
||||||
["fa"] + [str(order.amount)]
|
["fa"]
|
||||||
if not order.has_range
|
+ (
|
||||||
else [str(order.min_amount), str(order.max_amount)]
|
[str(order.amount)]
|
||||||
|
if not order.has_range
|
||||||
|
else [str(order.min_amount), str(order.max_amount)]
|
||||||
|
)
|
||||||
),
|
),
|
||||||
Tag.parse(["pm"] + order.payment_method.split(" ")),
|
Tag.parse(["pm"] + order.payment_method.split(" ")),
|
||||||
Tag.parse(["premium", str(order.premium)]),
|
Tag.parse(["premium", str(order.premium)]),
|
||||||
|
Loading…
Reference in New Issue
Block a user