mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-29 13:11:23 +00:00
Remove empty line and comment
This commit is contained in:
@@ -1546,7 +1546,6 @@ function setupMessageListenerQortalRequest() {
|
|||||||
request.payload,
|
request.payload,
|
||||||
isFromExtension
|
isFromExtension
|
||||||
);
|
);
|
||||||
|
|
||||||
event.source.postMessage(
|
event.source.postMessage(
|
||||||
{
|
{
|
||||||
requestId: request.requestId,
|
requestId: request.requestId,
|
||||||
|
@@ -19,7 +19,7 @@ export const decryptStoredWallet = async (password, wallet) => {
|
|||||||
.process(encryptedSeedBytes)
|
.process(encryptedSeedBytes)
|
||||||
.finish().result;
|
.finish().result;
|
||||||
if (Base58.encode(mac) !== wallet.mac) {
|
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(
|
const decryptedBytes = AES_CBC.decrypt(
|
||||||
encryptedSeedBytes,
|
encryptedSeedBytes,
|
||||||
|
Reference in New Issue
Block a user