mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-23 20:19:33 +00:00
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…
x
Reference in New Issue
Block a user