update optimization buttons after max button pressed

This commit is contained in:
Craig Raw 2022-03-04 11:53:12 +02:00
parent 1c7abc1b24
commit 58f20dab60

View file

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