chore: remove unnecessary extra check of triggerPriceOpt

This commit is contained in:
thecockatiel 2025-02-07 07:55:36 +03:30
parent fba386999c
commit 49fca9315d
No known key found for this signature in database
GPG key ID: 3E5CDC091FAF3BBA

View file

@ -151,8 +151,6 @@ public class EditOfferOptionParser extends OfferIdOptionParser implements Method
throw new IllegalArgumentException("no trigger price specified");
String triggerPriceAsString = options.valueOf(triggerPriceOpt);
if (triggerPriceAsString.isEmpty())
throw new IllegalArgumentException("trigger price not specified");
verifyStringIsValidDouble(triggerPriceAsString);