1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01:00

Fix bug that prevented publishing contracts

This commit is contained in:
Dan Finlay 2017-06-05 15:35:52 -07:00
parent 9d5525ecf6
commit c8f0802a8e
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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