diff --git a/model/src/main/java/one/nem/lacerta/model/PublicPath.java b/model/src/main/java/one/nem/lacerta/model/PublicPath.java index 980a3a9d..47f68ca7 100644 --- a/model/src/main/java/one/nem/lacerta/model/PublicPath.java +++ b/model/src/main/java/one/nem/lacerta/model/PublicPath.java @@ -65,4 +65,10 @@ public class PublicPath { public String getStringPath() { return String.join("/", path); } + + public PublicPath getRoot() { + PublicPath root = new PublicPath(); + root.add("/"); + return root; + } }