diff options
author | bakaoh <tatattai@gmail.com> | 2018-10-10 21:20:37 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-10-10 21:20:37 +0800 |
commit | 63c61c52eb3179816c330f4f6342f1142fb0009a (patch) | |
tree | e13cffd489ed4b90df03046be0c2567d3991cf16 /ui/app/components/qr-code.js | |
parent | 999a599a78ce742a209d37bf831b89a96e6cc3e5 (diff) | |
download | tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.tar tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.tar.gz tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.tar.bz2 tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.tar.lz tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.tar.xz tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.tar.zst tangerine-wallet-browser-63c61c52eb3179816c330f4f6342f1142fb0009a.zip |
Make all addresses EIP-55 compliant (#5379)
* Make all addresses EIP-55 compliant
* Checksum autocompleted address but not during input
Diffstat (limited to 'ui/app/components/qr-code.js')
-rw-r--r-- | ui/app/components/qr-code.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/qr-code.js b/ui/app/components/qr-code.js index 3b2c62f49..d3242ddf5 100644 --- a/ui/app/components/qr-code.js +++ b/ui/app/components/qr-code.js @@ -26,7 +26,7 @@ function QrCodeView () { QrCodeView.prototype.render = function () { const props = this.props const { message, data } = props.Qr - const address = `${isHexPrefixed(data) ? 'ethereum:' : ''}${data}` + const address = `${isHexPrefixed(data) ? 'ethereum:' : ''}${checksumAddress(data)}` const qrImage = qrCode(4, 'M') qrImage.addData(address) qrImage.make() |