mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 09:50:32 +01: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);
|
||||
i++;
|
||||
}
|
||||
stream.close();
|
||||
System.out.println("Imported " + chain.getChainHead().getHeight() + " blocks.");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user