Browse Source

update optimization buttons after max button pressed

terminal
Craig Raw 3 years ago
parent
commit
58f20dab60
  1. 4
      src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java

4
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);

Loading…
Cancel
Save