Skip to content

Commit 601c72a

Browse files
committed
Fix non-existant coin error. define self.icon
1 parent 5ba2129 commit 601c72a

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

src/cli/sentinel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,10 @@ def parse_coin_deposit(self, tokens):
420420
UnitAmounts.append(amt)
421421

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

425428
return tokenString[0:-1]
426429

src/main/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ def __init__(self,**kwargs):
2020
super(MyMainApp,self).__init__(**kwargs)
2121
from kivy.core.window import Window
2222

23+
global MeileConfig
24+
self.icon = MeileConfig.resource_path("imgs/icon.png")
25+
2326
global dim
2427
if Window.size[0] != dim[0] and Window.size[1] != dim[1]:
2528
Window.size = (dim[0], dim[1])

src/typedef/konstants.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ class IBCTokens():
565565
#mu_coins = ["tsent", "udvpn", "uscrt", "uosmo", "uatom", "udec"]
566566
class TextStrings():
567567
dash = "-"
568-
VERSION = "v2.1.1"
569-
BUILD = "1738137472380"
568+
VERSION = "v2.1.2"
569+
BUILD = "1738660777385"
570570
RootTag = "SENTINEL"
571571
PassedHealthCheck = "Passed Sentinel Health Check"
572572
FailedHealthCheck = "Failed Sentinel Health Check"
@@ -794,6 +794,13 @@ class NodeKeys():
794794

795795

796796

797+
798+
799+
800+
801+
802+
803+
797804

798805

799806

0 commit comments

Comments
 (0)