aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorbitpshr <mail@bitpshr.net>2018-09-11 21:33:37 +0800
committerbitpshr <mail@bitpshr.net>2018-09-14 03:40:57 +0800
commit68c25542965ae89badc284bf30e1f426f27aa5ae (patch)
tree6c86740515dd187ad4032ce1acb332d4cf9c046c /app/scripts
parent36dd0354e777e6786ae0d2284ffcb1adbc6d85f7 (diff)
downloadtangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.tar
tangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.tar.gz
tangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.tar.bz2
tangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.tar.lz
tangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.tar.xz
tangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.tar.zst
tangerine-wallet-browser-68c25542965ae89badc284bf30e1f426f27aa5ae.zip
Update error message for chainId mis-match
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/typed-message-manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/typed-message-manager.js b/app/scripts/lib/typed-message-manager.js
index 3e97023f5..01e1c9331 100644
--- a/app/scripts/lib/typed-message-manager.js
+++ b/app/scripts/lib/typed-message-manager.js
@@ -153,7 +153,7 @@ module.exports = class TypedMessageManager extends EventEmitter {
assert.equal(validation.errors.length, 0, 'Data must conform to EIP-712 schema. See https://git.io/fNtcx.')
const chainId = data.domain.chainId
const activeChainId = parseInt(this.networkController.getNetworkState())
- chainId && assert.equal(chainId, activeChainId, `Provided chainId (${activeChainId}) must match the active chainId (${activeChainId})`)
+ chainId && assert.equal(chainId, activeChainId, `Provided chainId (${chainId}) must match the active chainId (${activeChainId})`)
break
}
}