Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[trezor] initial trezor support #1547

Merged
merged 13 commits into from
Dec 3, 2018
2 changes: 2 additions & 0 deletions app/actions/DaemonActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { isTestNet } from "selectors";
import axios from "axios";
import { STANDARD_EXTERNAL_REQUESTS } from "main_dev/externalRequests";
import { DIFF_CONNECTION_ERROR } from "main_dev/constants";
import { enableTrezor } from "./TrezorActions";

export const DECREDITON_VERSION = "DECREDITON_VERSION";
export const SELECT_LANGUAGE = "SELECT_LANGUAGE";
Expand Down Expand Up @@ -294,6 +295,7 @@ export const startWallet = (selectedWallet) => (dispatch, getState) => {
dispatch({ type: WALLET_SETTINGS, currencyDisplay, gapLimit });
dispatch({ type: WALLET_STAKEPOOL_SETTINGS, activeStakePoolConfig, selectedStakePool, currentStakePoolConfig });
dispatch({ type: WALLET_LOADER_SETTINGS, discoverAccountsComplete });
selectedWallet.value.isTrezor && dispatch(enableTrezor());
setTimeout(()=>dispatch(versionCheckAction()), 2000);
})
.catch((err) => {
Expand Down
Loading