diff options
author | Dan <danjm.com@gmail.com> | 2018-04-05 08:22:12 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-04-05 08:22:12 +0800 |
commit | 2199b3720c9422af06fe26cf8de19b79be36987a (patch) | |
tree | 814d584b29a136e69b2b7a14ac3c7aa13c0a40dc /ui/app | |
parent | 1153120fe84e9d4cde47a7e416028be0fec3c61c (diff) | |
download | tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.gz tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.tar.zst tangerine-wallet-browser-2199b3720c9422af06fe26cf8de19b79be36987a.zip |
Allow from and to address to be the same in new-ui.
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/send-v2.js | 3 |
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) |