aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-09-20 02:27:49 +0800
committerkumavis <aaron@kumavis.me>2017-09-20 02:27:49 +0800
commit77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c (patch)
treed11ce4e1e314a9fe5018737eae17b68316b60a13 /ui/app/send.js
parentb979c6a2f3856525faaff0de94a3e97e322d18b6 (diff)
parent166bd55a43125796521f7caf97c2e2baf3519b36 (diff)
downloadtangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.tar
tangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.tar.gz
tangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.tar.bz2
tangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.tar.lz
tangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.tar.xz
tangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.tar.zst
tangerine-wallet-browser-77e02d264ad65cacd6a3c4f0087bd5e2c375ef4c.zip
Merge branch 'master' of github.com:MetaMask/metamask-plugin into json-rpc-engine-bump
Diffstat (limited to 'ui/app/send.js')
-rw-r--r--ui/app/send.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/send.js b/ui/app/send.js
index a21a219eb..e59c1130e 100644
--- a/ui/app/send.js
+++ b/ui/app/send.js
@@ -262,6 +262,11 @@ SendTransactionScreen.prototype.onSubmit = function () {
return this.props.dispatch(actions.displayWarning(message))
}
+ if ((util.isInvalidChecksumAddress(recipient))) {
+ message = 'Recipient address checksum is invalid.'
+ return this.props.dispatch(actions.displayWarning(message))
+ }
+
if ((!util.isValidAddress(recipient) && !txData) || (!recipient && !txData)) {
message = 'Recipient address is invalid.'
return this.props.dispatch(actions.displayWarning(message))