compatbility fix for latest geth

This commit is contained in:
Iuri Matias 2017-02-03 07:01:59 -05:00
parent fb1097b191
commit 361e1ec94a
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ Deploy.prototype.deployContract = function(contract, params, callback) {
contractParams.push({
//from: this.web3.eth.coinbase,
from: accounts[0],
data: contract.code,
data: "0x" + contract.code,
gas: contract.gas,
gasPrice: contract.gasPrice
});