adb fixes for text and stdio GUIs
This commit is contained in:
@@ -97,8 +97,8 @@ class ElectrumGui(BaseElectrumGui):
|
|||||||
format_str = "%"+"%d"%width[0]+"s"+"%"+"%d"%(width[1]+delta)+"s"+"%" \
|
format_str = "%"+"%d"%width[0]+"s"+"%"+"%d"%(width[1]+delta)+"s"+"%" \
|
||||||
+ "%d"%(width[2]+delta)+"s"+"%"+"%d"%(width[3]+delta)+"s"
|
+ "%d"%(width[2]+delta)+"s"+"%"+"%d"%(width[3]+delta)+"s"
|
||||||
messages = []
|
messages = []
|
||||||
|
domain = self.wallet.get_addresses()
|
||||||
for hist_item in reversed(self.wallet.get_history()):
|
for hist_item in reversed(self.wallet.adb.get_history(domain)):
|
||||||
if hist_item.tx_mined_status.conf:
|
if hist_item.tx_mined_status.conf:
|
||||||
timestamp = hist_item.tx_mined_status.timestamp
|
timestamp = hist_item.tx_mined_status.timestamp
|
||||||
try:
|
try:
|
||||||
|
|||||||
@@ -122,11 +122,10 @@ class ElectrumGui(BaseElectrumGui):
|
|||||||
width = [20, 40, 14, 14]
|
width = [20, 40, 14, 14]
|
||||||
delta = (self.maxx - sum(width) - 4)/3
|
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"
|
format_str = "%"+"%d"%width[0]+"s"+"%"+"%d"%(width[1]+delta)+"s"+"%"+"%d"%(width[2]+delta)+"s"+"%"+"%d"%(width[3]+delta)+"s"
|
||||||
|
domain = self.wallet.get_addresses()
|
||||||
b = 0
|
|
||||||
self.history = []
|
self.history = []
|
||||||
self.txid = []
|
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:
|
if hist_item.tx_mined_status.conf:
|
||||||
timestamp = hist_item.tx_mined_status.timestamp
|
timestamp = hist_item.tx_mined_status.timestamp
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user