From 267729d5dee74ba7388d27b8d7439178137eae05 Mon Sep 17 00:00:00 2001 From: Nicola Benaglia Date: Wed, 25 Jun 2025 08:54:34 +0200 Subject: [PATCH] Remove empty line and comment --- src/qortal/qortal-requests.ts | 1 - src/utils/decryptWallet.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qortal/qortal-requests.ts b/src/qortal/qortal-requests.ts index f1f8a22..078116e 100644 --- a/src/qortal/qortal-requests.ts +++ b/src/qortal/qortal-requests.ts @@ -1546,7 +1546,6 @@ function setupMessageListenerQortalRequest() { request.payload, isFromExtension ); - event.source.postMessage( { requestId: request.requestId, diff --git a/src/utils/decryptWallet.ts b/src/utils/decryptWallet.ts index 3fa002a..44b4aa9 100644 --- a/src/utils/decryptWallet.ts +++ b/src/utils/decryptWallet.ts @@ -19,7 +19,7 @@ export const decryptStoredWallet = async (password, wallet) => { .process(encryptedSeedBytes) .finish().result; if (Base58.encode(mac) !== wallet.mac) { - throw new Error(i18n.t('auth:message.error.incorrect_password')); // TODO: i18n non-react integration + throw new Error(i18n.t('auth:message.error.incorrect_password')); } const decryptedBytes = AES_CBC.decrypt( encryptedSeedBytes,