wallet-tool: Properly initialize context.

This commit is contained in:
Andreas Schildbach 2016-03-11 20:10:27 +01:00
parent 814bad4efb
commit d6002e1ee4

View File

@ -277,6 +277,8 @@ public class WalletTool {
default:
throw new RuntimeException("Unreachable.");
}
Context.propagate(new Context(params));
mode = modeFlag.value(options);
// Allow the user to override the name of the chain used.