mirror of https://github.com/embarklabs/embark.git
Merge pull request #466 from embark-framework/abiFixes
alias to the abi property in an object
This commit is contained in:
commit
01fc78059e
|
@ -28,7 +28,7 @@ EmbarkJS.Contract = function(options) {
|
|||
ContractClass = new this.web3.eth.Contract(this.abi, this.address);
|
||||
ContractClass.setProvider(this.web3.currentProvider);
|
||||
ContractClass.options.data = this.code;
|
||||
|
||||
ContractClass.abi = ContractClass.options.abi;
|
||||
return ContractClass;
|
||||
} else {
|
||||
ContractClass = this.web3.eth.contract(this.abi);
|
||||
|
|
Loading…
Reference in New Issue