From 5668910244a44874de93547d4037ee060ed5a264 Mon Sep 17 00:00:00 2001 From: frankiebee Date: Mon, 12 Jun 2017 14:05:08 -0700 Subject: [PATCH] prefix the address with "ethereum:" --- ui/app/components/qr-code.js | 3 +-- 1 file changed, 1 insertion(+), 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', {