diff options
author | bitpshr <mail@bitpshr.net> | 2018-09-14 03:12:08 +0800 |
---|---|---|
committer | bitpshr <mail@bitpshr.net> | 2018-09-14 03:42:27 +0800 |
commit | 42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae (patch) | |
tree | 9ba844dae9ba2a5ed1fadc6dad6a733de4839d7e /old-ui | |
parent | 68c25542965ae89badc284bf30e1f426f27aa5ae (diff) | |
download | tangerine-wallet-browser-42fdcf6239fc9278cfa85b6ae6cc025cef0e35ae.tar.gz 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.js | 6 |
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', [ |