Commit da4fc84b authored by zeroleak's avatar zeroleak
Browse files

add +XPub indicator

parent 2257e5c4
......@@ -438,20 +438,20 @@ public abstract class CliConfigFile {
public Map<String, String> getConfigInfo() {
Map<String, String> configInfo = new HashMap<>();
String externalDestination =
"xpub="
+ (!StringUtils.isEmpty(xpub)
? xpub
+ ", chain="
+ chain
+ ", startIndex="
+ startIndex
+ ", mixs="
+ mixs
+ ", mixsRandomFactor="
+ mixsRandomFactor
: "null");
configInfo.put("cli/externalDestination", externalDestination);
String str =
(!StringUtils.isEmpty(xpub)
? "xpub="
+ xpub
+ ", chain="
+ chain
+ ", startIndex="
+ startIndex
+ ", mixs="
+ mixs
+ ", mixsRandomFactor="
+ mixsRandomFactor
: "null");
configInfo.put("cli/externalDestination", str);
return configInfo;
}
}
......
......@@ -72,6 +72,7 @@ public class CliStatusOrchestrator extends AbstractOrchestrator {
+ (walletConfig.isAutoMix() ? " +autoMix" : "")
+ (cliConfig.getTor() ? " +Tor" : "")
+ (cliConfig.isDojoEnabled() ? " +Dojo" : "")
+ (walletConfig.getExternalDestination() != null ? " +XPub" : "")
+ ", "
+ mixingState.getNbMixing()
+ " mixing ("
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment