BuildCheckpoints: make sure the bitcoinj context is set on the thread
@@ -74,6 +74,8 @@ public class BuildCheckpoints implements Callable<Integer> {
public Integer call() throws Exception {
final String suffix;
params = net.networkParameters();
+ Context.propagate(new Context(params));
+
switch (net) {
case MAIN:
case PROD:
