Skip to content
Snippets Groups Projects
Unverified Commit 8f3e8879 authored by David Bohn's avatar David Bohn
Browse files

Added fix for spaces in node names

parent b165a568
Branches
No related tags found
1 merge request!6Overlay topology
...@@ -11,6 +11,8 @@ public class NodeHelper { ...@@ -11,6 +11,8 @@ public class NodeHelper {
return "Wallet" + n.getId(); return "Wallet" + n.getId();
} }
label = label.replace(" ", "_");
if (Character.isDigit(label.charAt(0))) { if (Character.isDigit(label.charAt(0))) {
return "Wallet" + label; return "Wallet" + label;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment