diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java index d42ea0ed..c7d1c553 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java +++ b/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java @@ -392,6 +392,10 @@ public class SendController extends WalletFormController implements Initializabl setFeeRate(feeRate); setEffectiveFeeRate(walletTransaction); + + if(walletTransaction.getPayments().stream().anyMatch(Payment::isSendMax)) { + updateOptimizationButtons(getPayments()); + } } transactionDiagram.update(walletTransaction);