tcleanup unneeded array in history widget - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 24cd18e193c9f5198643363193dd1a635e1185ad DIR parent 3d2ab45b04886c626e747452ae93651cffbcebc3 HTML Author: ThomasV <thomasv@electrum.org> Date: Sat, 5 Sep 2015 10:09:01 +0200 cleanup unneeded array in history widget Diffstat: M gui/qt/history_widget.py | 2 -- 1 file changed, 0 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/qt/history_widget.py b/gui/qt/history_widget.py t@@ -56,7 +56,6 @@ class HistoryWidget(MyTreeWidget): item = self.currentItem() current_tx = item.data(0, Qt.UserRole).toString() if item else None self.clear() - entries = [] for tx in h: tx_hash, conf, value, timestamp, balance = tx if conf is None and timestamp is None: t@@ -81,7 +80,6 @@ class HistoryWidget(MyTreeWidget): self.insertTopLevelItem(0, item) if current_tx == tx_hash: self.setCurrentItem(item) - entries.append((item, tx)) def update_item(self, tx_hash, conf, timestamp): icon, time_str = self.get_icon(conf, timestamp)