aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-06-13 05:05:08 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-06-13 05:05:08 +0800
commit5668910244a44874de93547d4037ee060ed5a264 (patch)
tree940fe449175da4d20df7b706da04c67d4ceb26d1
parent8af41f1b0539e70cf4c6e1f4a9f4b10ad13656fc (diff)
downloadtangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.tar
tangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.tar.gz
tangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.tar.bz2
tangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.tar.lz
tangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.tar.xz
tangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.tar.zst
tangerine-wallet-browser-5668910244a44874de93547d4037ee060ed5a264.zip
prefix the address with "ethereum:"
-rw-r--r--ui/app/components/qr-code.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/components/qr-code.js b/ui/app/components/qr-code.js
index 5488599eb..ac40e9ced 100644
--- a/ui/app/components/qr-code.js
+++ b/ui/app/components/qr-code.js
@@ -25,8 +25,7 @@ QrCodeView.prototype.render = function () {
var props = this.props
var Qr = props.Qr
var qrImage = qrCode(4, 'M')
-
- qrImage.addData(Qr.data)
+ qrImage.addData(`ethereum:${Qr.data}`)
qrImage.make()
return h('.main-container.flex-column', {