aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorThomas Huang <thomas.b.huang@gmail.com>2017-06-13 08:44:11 +0800
committerThomas Huang <thomas.b.huang@gmail.com>2017-06-13 08:44:11 +0800
commitae7c296669ad5c81e85071de071e2b0f2b1d4463 (patch)
tree0dd7334089fe19323d93aa2d83b0f82128d9146d /app/scripts/controllers
parentdbc48c3992b9592ae6984c0dc402f06ad60d7814 (diff)
downloadtangerine-wallet-browser-ae7c296669ad5c81e85071de071e2b0f2b1d4463.tar.gz
tangerine-wallet-browser-ae7c296669ad5c81e85071de071e2b0f2b1d4463.tar.zst
tangerine-wallet-browser-ae7c296669ad5c81e85071de071e2b0f2b1d4463.zip
Fix networkState in chain id
Diffstat (limited to 'app/scripts/controllers')
-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 {