Skip to content

Commit 3ea6e53

Browse files
committed
get contract from contract list, not compiled contracts
1 parent d20f90a commit 3ea6e53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/contracts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ ContractsManager.prototype.build = function() {
143143
};
144144

145145
ContractsManager.prototype.getContract = function(className) {
146-
return this.compiledContracts[className];
146+
return this.contracts[className];
147147
};
148148

149149
ContractsManager.prototype.sortContracts = function(contractList) {

0 commit comments

Comments
 (0)