Update compiler.js
This commit is contained in:
parent
a734eb2b7c
commit
ce7693eca2
|
@ -84,7 +84,7 @@ Compiler.prototype.compile_serpent = function(contractFile) {
|
|||
Compiler.prototype.compile = function(contractFiles) {
|
||||
var solidity = [], serpent = [];
|
||||
|
||||
for (contract in contractFiles) {
|
||||
for (var contractFile in contractFiles) {
|
||||
var extension = contractFile.split('.')[1];
|
||||
if (extension === 'sol') {
|
||||
solidity.push(contractFile);
|
||||
|
|
Loading…
Reference in New Issue