Merge branch 'develop' of github.com:iurimatias/embark-framework into develop

This commit is contained in:
Iuri Matias 2018-03-29 19:47:31 -04:00
commit 0fccb08360
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ EmbarkJS.Contract = function(options) {
// add gasPrice
ContractClass = new this.web3.eth.Contract(this.abi, this.address);
ContractClass.setProvider(this.web3.currentProvider);
ContractClass.options.data = this.code;
return ContractClass;
} else {