diff --git a/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java b/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java index 6291a66f6dc..30b3fe4b456 100644 --- a/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java +++ b/core/src/main/java/bisq/core/btc/wallet/BsqWalletService.java @@ -557,7 +557,7 @@ private void addInputsAndChangeOutputForTx(Transaction tx, Coin fee, BsqCoinSele if (requireChangeOutput) { checkArgument(change.isPositive(), "This transaction requires a mandatory BSQ change output. " + - "At least " + Restrictions.getMinNonDustOutput().add(fee) + " " + + "At least " + Restrictions.getMinNonDustOutput().add(fee).value / 100d + " " + "BSQ is needed for this transaction"); } @@ -565,7 +565,7 @@ private void addInputsAndChangeOutputForTx(Transaction tx, Coin fee, BsqCoinSele checkArgument(Restrictions.isAboveDust(change), "The change output of " + change.value / 100d + " BSQ is below the min. dust value of " + Restrictions.getMinNonDustOutput().value / 100d + - ". At least " + Restrictions.getMinNonDustOutput().add(fee) + " " + + ". At least " + Restrictions.getMinNonDustOutput().add(fee).value / 100d + " " + "BSQ is needed for this transaction"); tx.addOutput(change, getChangeAddress()); }