mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Fix bug that prevented publishing contracts
This commit is contained in:
parent
9d5525ecf6
commit
c8f0802a8e
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- Fix bug that prevented publishing contracts.
|
||||||
|
|
||||||
## 3.7.5 2017-6-5
|
## 3.7.5 2017-6-5
|
||||||
|
|
||||||
- Prevent users from sending to the `0x0` address.
|
- Prevent users from sending to the `0x0` address.
|
||||||
|
@ -45,7 +45,7 @@ PendingTx.prototype.render = function () {
|
|||||||
const balance = account ? account.balance : '0x0'
|
const balance = account ? account.balance : '0x0'
|
||||||
|
|
||||||
// recipient check
|
// recipient check
|
||||||
const isValidAddress = util.isValidAddress(txParams.to)
|
const isValidAddress = !txParams.to || util.isValidAddress(txParams.to)
|
||||||
|
|
||||||
// Gas
|
// Gas
|
||||||
const gas = txParams.gas
|
const gas = txParams.gas
|
||||||
|
Loading…
Reference in New Issue
Block a user