aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-06-13 10:34:43 +0800
committerGitHub <noreply@github.com>2017-06-13 10:34:43 +0800
commiteccb8b8f80b9d8bda70106bd3a089d059ea9d44f (patch)
tree2171748d9256cb180035bf431c80c82313a93cd8 /app
parentbbe0c73dca45542b519036bec2bae5feb1e55485 (diff)
parentc0f07844af434666ae1e511e90e36ca493e8bb91 (diff)
downloadtangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.tar
tangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.tar.gz
tangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.tar.bz2
tangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.tar.lz
tangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.tar.xz
tangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.tar.zst
tangerine-wallet-browser-eccb8b8f80b9d8bda70106bd3a089d059ea9d44f.zip
Merge pull request #1601 from MetaMask/ChainIdErrorTest
Chain id error test
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index faccf1ab1..d4603aafa 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -212,7 +212,7 @@ module.exports = class TransactionController extends EventEmitter {
getChainId () {
const networkState = this.networkStore.getState()
- const getChainId = parseInt(networkState.network)
+ const getChainId = parseInt(networkState)
if (Number.isNaN(getChainId)) {
return 0
} else {