mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-11 14:34:40 +00:00
compatbility fix for latest geth
This commit is contained in:
parent
fb1097b191
commit
361e1ec94a
@ -113,7 +113,7 @@ Deploy.prototype.deployContract = function(contract, params, callback) {
|
|||||||
contractParams.push({
|
contractParams.push({
|
||||||
//from: this.web3.eth.coinbase,
|
//from: this.web3.eth.coinbase,
|
||||||
from: accounts[0],
|
from: accounts[0],
|
||||||
data: contract.code,
|
data: "0x" + contract.code,
|
||||||
gas: contract.gas,
|
gas: contract.gas,
|
||||||
gasPrice: contract.gasPrice
|
gasPrice: contract.gasPrice
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user