Skip to content

Commit

Permalink
Fix non-existant coin error. define self.icon
Browse files Browse the repository at this point in the history
  • Loading branch information
freQniK committed Feb 4, 2025
1 parent 5ba2129 commit 601c72a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/cli/sentinel.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,10 @@ def parse_coin_deposit(self, tokens):
UnitAmounts.append(amt)

for u in UnitAmounts:
tokenString += str(round(float(float(u[1]) / IBCTokens.SATOSHI),4)) + str(IBCTokens.UNITTOKEN[u[2]]) + ','
try:
tokenString += str(round(float(float(u[1]) / IBCTokens.SATOSHI),4)) + str(IBCTokens.UNITTOKEN[u[2]]) + ','
except:
pass

return tokenString[0:-1]

Expand Down
3 changes: 3 additions & 0 deletions src/main/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def __init__(self,**kwargs):
super(MyMainApp,self).__init__(**kwargs)
from kivy.core.window import Window

global MeileConfig
self.icon = MeileConfig.resource_path("imgs/icon.png")

global dim
if Window.size[0] != dim[0] and Window.size[1] != dim[1]:
Window.size = (dim[0], dim[1])
Expand Down
11 changes: 9 additions & 2 deletions src/typedef/konstants.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@ class IBCTokens():
#mu_coins = ["tsent", "udvpn", "uscrt", "uosmo", "uatom", "udec"]
class TextStrings():
dash = "-"
VERSION = "v2.1.1"
BUILD = "1738137472380"
VERSION = "v2.1.2"
BUILD = "1738660777385"
RootTag = "SENTINEL"
PassedHealthCheck = "Passed Sentinel Health Check"
FailedHealthCheck = "Failed Sentinel Health Check"
Expand Down Expand Up @@ -794,6 +794,13 @@ class NodeKeys():













Expand Down

0 comments on commit 601c72a

Please sign in to comment.