1
0

adb fixes for text and stdio GUIs

This commit is contained in:
ThomasV
2022-06-17 10:04:28 +02:00
parent e1d34300e5
commit 55f46fb61e
2 changed files with 4 additions and 5 deletions

View File

@@ -97,8 +97,8 @@ class ElectrumGui(BaseElectrumGui):
format_str = "%"+"%d"%width[0]+"s"+"%"+"%d"%(width[1]+delta)+"s"+"%" \
+ "%d"%(width[2]+delta)+"s"+"%"+"%d"%(width[3]+delta)+"s"
messages = []
for hist_item in reversed(self.wallet.get_history()):
domain = self.wallet.get_addresses()
for hist_item in reversed(self.wallet.adb.get_history(domain)):
if hist_item.tx_mined_status.conf:
timestamp = hist_item.tx_mined_status.timestamp
try:

View File

@@ -122,11 +122,10 @@ class ElectrumGui(BaseElectrumGui):
width = [20, 40, 14, 14]
delta = (self.maxx - sum(width) - 4)/3
format_str = "%"+"%d"%width[0]+"s"+"%"+"%d"%(width[1]+delta)+"s"+"%"+"%d"%(width[2]+delta)+"s"+"%"+"%d"%(width[3]+delta)+"s"
b = 0
domain = self.wallet.get_addresses()
self.history = []
self.txid = []
for hist_item in self.wallet.get_history():
for hist_item in self.wallet.adb.get_history(domain):
if hist_item.tx_mined_status.conf:
timestamp = hist_item.tx_mined_status.timestamp
try: