joinmarket-webui / jam

Your sats. Your privacy. Your profit.
https://jamapp.org
MIT License
236 stars 48 forks source link

"Earn" Feature fails without explanation if "Minimum amount" size is too high #740

Closed 86codyharris closed 2 months ago

86codyharris commented 2 months ago

Expected behavior

When using the earn feature, user should set parameters, click "Start Earning!" and the service should work or explain why it isn't working.

Actual behavior Earn Feature Fails to start without explanation

Offer Options>Minimum amount:

If this field is larger than the sum of the unfrozen outputs in any jar the service will fail to start.

Steps to reproduce the problem Offer Options>Minimum amount>input value greater than the sum of largest jar>click "Start Earning!"

Specifications

Additional context

This is confusing to beginners because the total jam balance leads you to believe that you have plenty of capacity to demand a large min input size. It is of course Jar capacity, not total wallet capacity that limits the min input size.