mirror of
https://github.com/RoboSats/robosats.git
synced 2025-08-05 13:00:27 +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(
|
||||
[
|
||||
"expiration",
|
||||
str(
|
||||
int(
|
||||
(
|
||||
datetime.now()
|
||||
+ timedelta(days=14)
|
||||
+ timedelta(
|
||||
seconds=random.randint(0, 14 * 24 * 60 * 60)
|
||||
)
|
||||
).timestamp()
|
||||
)
|
||||
),
|
||||
str(int(order.expires_at.timestamp())),
|
||||
str(order.escrow_duration),
|
||||
]
|
||||
),
|
||||
|
Reference in New Issue
Block a user