Skip to content

Commit

Permalink
[trezor] initial trezor support (#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusd authored and alexlyp committed Dec 3, 2018
1 parent fe77412 commit f5eacd4
Show file tree
Hide file tree
Showing 63 changed files with 2,860 additions and 74 deletions.
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

0 comments on commit f5eacd4

Please sign in to comment.