From 2199b3720c9422af06fe26cf8de19b79be36987a Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 4 Apr 2018 21:52:12 -0230 Subject: [PATCH] Allow from and to address to be the same in new-ui. --- ui/app/send-v2.js | 3 --- 1 file changed, 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)