From 3ea6e532189babb654ebee2cb434a12a39ff2d14 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sun, 23 Oct 2016 11:15:35 -0400 Subject: [PATCH] get contract from contract list, not compiled contracts --- lib/contracts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/contracts.js b/lib/contracts.js index 8f51480f..c8f5c245 100644 --- a/lib/contracts.js +++ b/lib/contracts.js @@ -143,7 +143,7 @@ ContractsManager.prototype.build = function() { }; ContractsManager.prototype.getContract = function(className) { - return this.compiledContracts[className]; + return this.contracts[className]; }; ContractsManager.prototype.sortContracts = function(contractList) {