From 49fca9315dc9b7fbb3e19f4ea4a66030cb059ff6 Mon Sep 17 00:00:00 2001 From: thecockatiel Date: Fri, 7 Feb 2025 07:55:36 +0330 Subject: [PATCH] chore: remove unnecessary extra check of triggerPriceOpt --- cli/src/main/java/bisq/cli/opts/EditOfferOptionParser.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/cli/src/main/java/bisq/cli/opts/EditOfferOptionParser.java b/cli/src/main/java/bisq/cli/opts/EditOfferOptionParser.java index fedb3b26f3..054d693a5e 100644 --- a/cli/src/main/java/bisq/cli/opts/EditOfferOptionParser.java +++ b/cli/src/main/java/bisq/cli/opts/EditOfferOptionParser.java @@ -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);