aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-06 06:35:52 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-06 06:35:52 +0800
commitc8f0802a8e63ca29c643d08ebc1b777520645246 (patch)
treea05b8c84a82a362957397d59804b370c17dd5f2e /ui/app/components
parent9d5525ecf69a19ffbc76d2529a6aa3911c477023 (diff)
downloadtangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.tar
tangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.tar.gz
tangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.tar.bz2
tangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.tar.lz
tangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.tar.xz
tangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.tar.zst
tangerine-wallet-browser-c8f0802a8e63ca29c643d08ebc1b777520645246.zip
Fix bug that prevented publishing contracts
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/pending-tx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js
index a106f245b..e3b307b0b 100644
--- a/ui/app/components/pending-tx.js
+++ b/ui/app/components/pending-tx.js
@@ -45,7 +45,7 @@ PendingTx.prototype.render = function () {
const balance = account ? account.balance : '0x0'
// recipient check
- const isValidAddress = util.isValidAddress(txParams.to)
+ const isValidAddress = !txParams.to || util.isValidAddress(txParams.to)
// Gas
const gas = txParams.gas