Skip to content

Commit c8f0802

Browse files
committed
Fix bug that prevented publishing contracts
1 parent 9d5525e commit c8f0802

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Current Master
44

5+
- Fix bug that prevented publishing contracts.
6+
57
## 3.7.5 2017-6-5
68

79
- Prevent users from sending to the `0x0` address.

ui/app/components/pending-tx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PendingTx.prototype.render = function () {
4545
const balance = account ? account.balance : '0x0'
4646

4747
// recipient check
48-
const isValidAddress = util.isValidAddress(txParams.to)
48+
const isValidAddress = !txParams.to || util.isValidAddress(txParams.to)
4949

5050
// Gas
5151
const gas = txParams.gas

0 commit comments

Comments
 (0)