From 4d65ccec7a9549d20004d45370cb20b800655b86 Mon Sep 17 00:00:00 2001 From: VoR0220 Date: Wed, 30 May 2018 14:33:29 -0500 Subject: [PATCH] fixed this up Signed-off-by: VoR0220 --- js/embark.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/embark.js b/js/embark.js index 903d7ac89..9e9446c4e 100644 --- a/js/embark.js +++ b/js/embark.js @@ -28,11 +28,9 @@ 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 = this.web3.eth.contract(this.abi); return ContractClass; } else { - ContractClass = this.web3.eth.contract(this.abi); - this.eventList = []; if (this.abi) {