From d7d23f9b58149f177d7f81abc9d8f1e5b9ae1932 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 2 Jun 2025 09:41:46 +0200 Subject: [PATCH] always use the master wallet payment code when creating the notification transaction payload on the send tab --- .../java/com/sparrowwallet/sparrow/wallet/SendController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java b/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java index 97271657..07cf7619 100644 --- a/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java +++ b/src/main/java/com/sparrowwallet/sparrow/wallet/SendController.java @@ -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();