diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-20 03:06:45 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-20 03:06:45 +0800 |
commit | c8deb355f7d1e4d1e10868a7d960fa460a7c51db (patch) | |
tree | 7f00234f62abda988035dc4ac83f7981ad446452 /ui/app/send.js | |
parent | 685a1881b86c19fe52a7cd82ed4e2b34617429ff (diff) | |
download | tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.gz tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.bz2 tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.lz tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.xz tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.tar.zst tangerine-wallet-browser-c8deb355f7d1e4d1e10868a7d960fa460a7c51db.zip |
Add address capitalization checksumming
Diffstat (limited to 'ui/app/send.js')
-rw-r--r-- | ui/app/send.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/send.js b/ui/app/send.js index 67dd15f81..044311b94 100644 --- a/ui/app/send.js +++ b/ui/app/send.js @@ -219,7 +219,7 @@ SendTransactionScreen.prototype.onSubmit = function() { return this.props.dispatch(actions.displayWarning(message)) } - if ((recipient.length !== 42 && !txData) || (!recipient && !txData)) { + if ((util.isValidAddress(recipient) && !txData) || (!recipient && !txData)) { var message = 'Recipient address is invalid.' return this.props.dispatch(actions.displayWarning(message)) } |