always use the master wallet payment code when creating the notification transaction payload on the send tab

This commit is contained in:
Craig Raw 2025-06-02 09:41:46 +02:00
parent 3fdf093a26
commit d7d23f9b58

View file

@ -1205,7 +1205,7 @@ public class SendController extends WalletFormController implements Initializabl
public void broadcastNotification(Wallet decryptedWallet) {
try {
PaymentCode paymentCode = decryptedWallet.getPaymentCode();
PaymentCode paymentCode = decryptedWallet.isMasterWallet() ? decryptedWallet.getPaymentCode() : decryptedWallet.getMasterWallet().getPaymentCode();
PaymentCode externalPaymentCode = paymentCodeProperty.get();
WalletTransaction walletTransaction = walletTransactionProperty.get();
WalletNode input0Node = walletTransaction.getSelectedUtxos().entrySet().iterator().next().getValue();