diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2018-04-05 15:51:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 15:51:10 +0800 |
commit | 54b84e2c3d06528bb5efd7d88df7edcf1088f9ae (patch) | |
tree | 814d584b29a136e69b2b7a14ac3c7aa13c0a40dc | |
parent | 1153120fe84e9d4cde47a7e416028be0fec3c61c (diff) | |
parent | 2199b3720c9422af06fe26cf8de19b79be36987a (diff) | |
download | tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.tar tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.tar.gz tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.tar.bz2 tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.tar.lz tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.tar.xz tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.tar.zst tangerine-wallet-browser-54b84e2c3d06528bb5efd7d88df7edcf1088f9ae.zip |
Merge pull request #3884 from danjm/i3874-send-eth-to-self
Allow from and to address to be the same in new-ui.
-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) |