diff --git a/js/embark.js b/js/embark.js index 57a9d6c5a..1b0b324f4 100644 --- a/js/embark.js +++ b/js/embark.js @@ -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);