diff --git a/electrum/gui/stdio.py b/electrum/gui/stdio.py index 5b0030ce6..ed5632efd 100644 --- a/electrum/gui/stdio.py +++ b/electrum/gui/stdio.py @@ -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: diff --git a/electrum/gui/text.py b/electrum/gui/text.py index 749661074..aa9fd06ac 100644 --- a/electrum/gui/text.py +++ b/electrum/gui/text.py @@ -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: