1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #1551 from MetaMask/i1550-FixContractPublication

I1550 fix contract publication
This commit is contained in:
kumavis 2017-06-05 16:00:28 -07:00 committed by GitHub
commit 29c7739efc
3 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,10 @@
## Current Master
## 3.7.6 2017-6-5
- Fix bug that prevented publishing contracts.
## 3.7.5 2017-6-5
- Prevent users from sending to the `0x0` address.

View File

@ -1,7 +1,7 @@
{
"name": "MetaMask",
"short_name": "Metamask",
"version": "3.7.5",
"version": "3.7.6",
"manifest_version": 2,
"author": "https://metamask.io",
"description": "Ethereum Browser Extension",

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