Skip to content

Commit

Permalink
[DDW-652] Remove unnecessary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomislav Horaček committed Apr 15, 2021
1 parent d53b950 commit 75f13bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
6 changes: 0 additions & 6 deletions source/renderer/app/api/api.js
Expand Up @@ -2676,12 +2676,6 @@ const _createWalletFromServerData = action(
: new BigNumber(balance.reward.quantity.toString());
}

logger.debug('[HW-DEBUG] API - createWalletFromServerData', {
id,
isHardwareWallet,
passphraseLastUpdatedAt,
});

// Current (Active)
const active = get(delegation, 'active', null);
const target = get(active, 'target', null);
Expand Down
6 changes: 0 additions & 6 deletions source/renderer/app/stores/HardwareWalletsStore.js
Expand Up @@ -615,12 +615,6 @@ export default class HardwareWalletsStore extends Store {
if (transportDevice) {
const { deviceType, firmwareVersion } = transportDevice;
// Check if device is supported
logger.debug('[HW-DEBUG] HWStore - check firmware', {
deviceType,
firmwareVersion,
MINIMAL_TREZOR_FIRMWARE_VERSION,
MINIMAL_LEDGER_FIRMWARE_VERSION,
});
if (
(deviceType === DeviceTypes.TREZOR && !DeviceModels.TREZOR_T) ||
(deviceType === DeviceTypes.LEDGER &&
Expand Down
9 changes: 0 additions & 9 deletions source/renderer/app/stores/WalletsStore.js
Expand Up @@ -624,21 +624,12 @@ export default class WalletsStore extends Store {
});

if (wallet) {
logger.debug(
'[HW-DEBUG] HWStore - Execute HW create / restore - Patch HW'
);
await this._patchWalletRequestWithNewWallet(wallet);
logger.debug('[HW-DEBUG] HWStore - GO TO ROUTE');
this.goToWalletRoute(wallet.id);
logger.debug('[HW-DEBUG] HWStore - Refresh wallets data');
this.refreshWalletsData();
logger.debug('[HW-DEBUG] HWStore - Close dialog');
this.actions.dialogs.closeActiveDialog.trigger();
}
} catch (error) {
logger.debug('[HW-DEBUG] HWStore - HW create / restore ERROR', {
error,
});
throw error;
} finally {
this._resumePolling();
Expand Down

0 comments on commit 75f13bc

Please sign in to comment.