aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-04-05 08:22:12 +0800
committerDan <danjm.com@gmail.com>2018-04-05 08:22:12 +0800
commit2199b3720c9422af06fe26cf8de19b79be36987a (patch)
tree814d584b29a136e69b2b7a14ac3c7aa13c0a40dc
parent1153120fe84e9d4cde47a7e416028be0fec3c61c (diff)
downloadtangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar
tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.gz
tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.bz2
tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.lz
tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.xz
tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.zst
tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.zip
Allow from and to address to be the same in new-ui.
-rw-r--r--ui/app/send-v2.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index 0f2997fb2..c3b81da5b 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -254,7 +254,6 @@ SendTransactionScreen.prototype.handleToChange = function (to, nickname = '') {
const {
updateSendTo,
updateSendErrors,
- from: {address: from},
} = this.props
let toError = null
@@ -262,8 +261,6 @@ SendTransactionScreen.prototype.handleToChange = function (to, nickname = '') {
toError = this.context.t('required')
} else if (!isValidAddress(to)) {
toError = this.context.t('invalidAddressRecipient')
- } else if (to === from) {
- toError = this.context.t('fromToSame')
}
updateSendTo(to, nickname)