Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
fix(MyWallet): don't use ES6 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Feb 26, 2016
1 parent 12b956f commit 3ca6334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,11 +554,11 @@ MyWallet.createNewWallet = function (inputedEmail, inputedPassword, firstAccount
WalletSignup.generateNewWallet(inputedPassword, inputedEmail, firstAccountName, function (createdGuid, createdSharedKey, createdPassword) {
if (languageCode) {
WalletStore.setLanguage(languageCode);
BlockchainSettingsAPI.change_language(languageCode, (() => {}));
BlockchainSettingsAPI.change_language(languageCode, (function () {}));
}

if (currencyCode) {
BlockchainSettingsAPI.change_local_currency(currencyCode, (() => {}));
BlockchainSettingsAPI.change_local_currency(currencyCode, (function () {}));
}

WalletStore.unsafeSetPassword(createdPassword);
Expand Down

0 comments on commit 3ca6334

Please sign in to comment.