Include recommended_min_amount_in in error if swap fails for insufficient fees

This MR close #2215 (closed). In the case the swap simulation fails due to ErrNotEnoughToPayFee, we include the recommended_min_amount_in in the message to inform the caller of the issue. The return code has also been changed to be 400 - Bad Request.

I would have liked to add this to the details portion of the response. Any thoughts/guidance on this would be appreciated.

Merge request reports

Loading