Skip to content

Commit

Permalink
Remove escrow button from archived orders
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Jun 17, 2020
1 parent a7fa6bb commit b368aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ async def show_order(
),
),
)
elif "price_sell" in order:
elif "price_sell" in order and not order.get("archived"):
if (
get_escrow_instance(order["buy"]) is not None
or get_escrow_instance(order["sell"]) is not None
Expand Down

0 comments on commit b368aa8

Please sign in to comment.