From e55af28763912f831f4d8a8909c6283815437f20 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Thu, 5 Dec 2024 15:10:29 +0100 Subject: [PATCH] Fix wallet logs delete for single wallet (#1684) --- components/wallet-logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/wallet-logger.js b/components/wallet-logger.js index 73ceb02c..a7ef8f20 100644 --- a/components/wallet-logger.js +++ b/components/wallet-logger.js @@ -142,7 +142,7 @@ export function useWalletLogManager (setLogs) { if ((!wallet || wallet.def.walletType) && !options?.clientOnly) { await deleteServerWalletLogs({ variables: { wallet: wallet?.def.walletType } }) } - if (!wallet || wallet.sendPayment) { + if (!wallet || wallet.def.sendPayment) { try { const tag = wallet ? walletTag(wallet.def) : null if (notSupported) {