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.
When someone tries to take a range order that is not
pending
, if they do not put the amount in the range, Mostro returnsOutOfRangeFiatAmount
, but then if they put it within the range it returnsNotAllowedByStatus
. I think Mostro should first check if it is in statuspending
, and then if it is within the fiat range or in the amount of sats allowed, and not the other way around.