diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-06-06 06:35:52 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-06-06 06:35:52 +0800 |
commit | c8f0802a8e63ca29c643d08ebc1b777520645246 (patch) | |
tree | a05b8c84a82a362957397d59804b370c17dd5f2e | |
parent | 9d5525ecf69a19ffbc76d2529a6aa3911c477023 (diff) | |
download | tangerine-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
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | ui/app/components/pending-tx.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 14a6ef3a7..6b0f27e72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Current Master +- Fix bug that prevented publishing contracts. + ## 3.7.5 2017-6-5 - Prevent users from sending to the `0x0` address. 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 |