Close stream in BlockImporter

This commit is contained in:
Mike Hearn 2012-11-01 15:41:45 +01:00
parent a036b68aa2
commit 9c124ac257

View File

@ -71,6 +71,7 @@ public class BlockImporter {
System.out.println(i);
i++;
}
stream.close();
System.out.println("Imported " + chain.getChainHead().getHeight() + " blocks.");
}
}