1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

prefix the address with "ethereum:"

This commit is contained in:
frankiebee 2017-06-12 14:05:08 -07:00
parent 8af41f1b05
commit 5668910244

View File

@ -25,8 +25,7 @@ QrCodeView.prototype.render = function () {
var props = this.props var props = this.props
var Qr = props.Qr var Qr = props.Qr
var qrImage = qrCode(4, 'M') var qrImage = qrCode(4, 'M')
qrImage.addData(`ethereum:${Qr.data}`)
qrImage.addData(Qr.data)
qrImage.make() qrImage.make()
return h('.main-container.flex-column', { return h('.main-container.flex-column', {