mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-12 02:05:53 +00:00
Close stream in BlockImporter
This commit is contained in:
parent
a036b68aa2
commit
9c124ac257
@ -71,6 +71,7 @@ public class BlockImporter {
|
|||||||
System.out.println(i);
|
System.out.println(i);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
stream.close();
|
||||||
System.out.println("Imported " + chain.getChainHead().getHeight() + " blocks.");
|
System.out.println("Imported " + chain.getChainHead().getHeight() + " blocks.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user