mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-09-19 12:34:46 -04:00
Fix bug with dust warning
This commit is contained in:
parent
23f92db561
commit
9d4730dfbf
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ class TakeOfferViewModel extends ActivatableWithDataModel<TakeOfferDataModel> im
|
|||
amountValidationResult.set(new InputValidator.ValidationResult(false,
|
||||
BSResources.get("takeOffer.validation.amountLargerThanOfferAmount")));
|
||||
|
||||
if (dataModel.isAmountLargerThanOfferAmountMinusFee())
|
||||
if (dataModel.wouldCreateDustForOfferer())
|
||||
amountValidationResult.set(new InputValidator.ValidationResult(false,
|
||||
BSResources.get("takeOffer.validation.amountLargerThanOfferAmountMinusFee")));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue