Skip to content

Commit

Permalink
Update to new tag, set title and resource path
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Sep 9, 2019
1 parent 33643b7 commit 6882f60
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BUILD
Expand Up @@ -153,7 +153,7 @@ java_test(
name = "web_server_test",
srcs = ["test/WebServerTest.java", "test/TestUtil.java"],
test_class = "channels.WebServerTest",
size="small",
size="medium",
deps = [
"@junit_junit//jar",
"@snowblossom//lib:lib",
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Expand Up @@ -23,7 +23,7 @@ maven_jar(
git_repository(
name = "snowblossom",
remote = "https://github.com/snowblossomcoin/snowblossom",
tag = "1.5.2.2",
tag = "1.5.2.3",
)

git_repository(
Expand Down
16 changes: 13 additions & 3 deletions src/iceleaf/ChannelIceLeaf.java
Expand Up @@ -5,16 +5,14 @@
import snowblossom.lib.NetworkParamsProd;
import snowblossom.iceleaf.IceLeaf;
import java.util.prefs.Preferences;

import snowblossom.channels.ChannelGlobals;

public class ChannelIceLeaf extends IceLeaf
{
public static void main(String args[]) throws Exception
{
Globals.addCryptoProvider();

new ChannelIceLeaf(new NetworkParamsProd(), null);

}

public ChannelIceLeaf(NetworkParams params, Preferences prefs)
Expand All @@ -24,4 +22,16 @@ public ChannelIceLeaf(NetworkParams params, Preferences prefs)
ClassLoader.getSystemClassLoader().loadClass("snowblossom.iceleaf.IceLeaf")));
}

@Override
public String getTitle()
{
return "SnowBlossom Channels - IceLeaf " + ChannelGlobals.VERSION;
}

@Override
public String getResourceBasePath()
{
return "/external/snowblossom";
}

}

0 comments on commit 6882f60

Please sign in to comment.