Merge branch 'develop' of github.com:iurimatias/embark-framework into develop
This commit is contained in:
commit
0fccb08360
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue