MostroP2P/mostro

change check order when taking an order

Closed this issue · 0 comments

When someone tries to take a range order that is not pending, if they do not put the amount in the range, Mostro returns OutOfRangeFiatAmount, but then if they put it within the range it returns NotAllowedByStatus.
I think Mostro should first check if it is in status pending, and then if it is within the fiat range or in the amount of sats allowed, and not the other way around.