aboutsummaryrefslogtreecommitdiffstats
path: root/old-ui
diff options
context:
space:
mode:
authorbitpshr <mail@bitpshr.net>2018-09-14 03:12:08 +0800
committerbitpshr <mail@bitpshr.net>2018-09-14 03:42:27 +0800
commit42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae (patch)
tree9ba844dae9ba2a5ed1fadc6dad6a733de4839d7e /old-ui
parent68c25542965ae89badc284bf30e1f426f27aa5ae (diff)
downloadtangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar
tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar.gz
tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar.bz2
tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar.lz
tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar.xz
tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar.zst
tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.zip
Update new method namespace from v2 to v3
Diffstat (limited to 'old-ui')
-rw-r--r--old-ui/app/components/typed-message-renderer.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/old-ui/app/components/typed-message-renderer.js b/old-ui/app/components/typed-message-renderer.js
index 0eacb2129..0dc673b8a 100644
--- a/old-ui/app/components/typed-message-renderer.js
+++ b/old-ui/app/components/typed-message-renderer.js
@@ -19,8 +19,8 @@ TypedMessageRenderer.prototype.render = function () {
case 'V1':
text = renderTypedData(value)
break
- case 'V2':
- text = renderTypedDataV2(value)
+ case 'V3':
+ text = renderTypedDataV3(value)
break
}
@@ -54,7 +54,7 @@ function renderTypedData (values) {
})
}
-function renderTypedDataV2 (values) {
+function renderTypedDataV3 (values) {
const { domain, message } = JSON.parse(values)
return [
domain ? h('div', [