Skip to content

Commit

Permalink
Settable title
Browse files Browse the repository at this point in the history
  • Loading branch information
fireduck64 committed Sep 9, 2019
1 parent 3f55cf7 commit dc6eee1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 7 additions & 1 deletion iceleaf-ui/src/IceLeaf.java
Expand Up @@ -106,6 +106,12 @@ public void run()



public String getTitle()
{
String title = "SnowBlossom - IceLeaf " + Globals.VERSION;
return title;

}

public class WindowSetup implements Runnable
{
Expand All @@ -129,7 +135,7 @@ public void run()
}


String title = "SnowBlossom - IceLeaf " + Globals.VERSION;
String title = getTitle();
if (!params.getNetworkName().equals("snowblossom"))
{
title = title + " - " + params.getNetworkName();
Expand Down
3 changes: 0 additions & 3 deletions lib/src/DigestUtil.java
Expand Up @@ -48,7 +48,6 @@ public static ChainHash getMerkleRootForTxList(List<ChainHash> tx_list)
throw new RuntimeException("Can't merkle empty list");
}


while(src.size() > 1)
{

Expand Down Expand Up @@ -77,6 +76,4 @@ public static ChainHash getMerkleRootForTxList(List<ChainHash> tx_list)
return src.get(0);
}



}

0 comments on commit dc6eee1

Please sign in to comment.