mirror of
https://github.com/RoboSats/robosats.git
synced 2025-08-07 07:20:25 +00:00
Revert order
This commit is contained in:
12
api/nostr.py
12
api/nostr.py
@ -136,17 +136,7 @@ class Nostr:
|
|||||||
Tag.parse(
|
Tag.parse(
|
||||||
[
|
[
|
||||||
"expiration",
|
"expiration",
|
||||||
str(
|
str(int(order.expires_at.timestamp())),
|
||||||
int(
|
|
||||||
(
|
|
||||||
datetime.now()
|
|
||||||
+ timedelta(days=14)
|
|
||||||
+ timedelta(
|
|
||||||
seconds=random.randint(0, 14 * 24 * 60 * 60)
|
|
||||||
)
|
|
||||||
).timestamp()
|
|
||||||
)
|
|
||||||
),
|
|
||||||
str(order.escrow_duration),
|
str(order.escrow_duration),
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user