commit 13c9991be8baadab9410f46f77d92ee49b023df6
parent 4788ea62de16e90f81e3bc2ce3557b5b340114cb
Author: ThomasV <thomasv@gitorious>
Date: Sun, 4 Nov 2012 11:47:20 +0100
fix: get_tx_value
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/gui_lite.py b/lib/gui_lite.py
@@ -440,7 +440,8 @@ class MiniWindow(QDialog):
def update_history(self, tx_history):
for tx in tx_history[-10:]:
address = tx["default_label"]
- amount = D(tx["value"]) / 10**8
+ value = self.actuator.wallet.get_tx_value(tx['tx_hash'])
+ amount = D(value / 10**8
self.history_list.append(address, amount)
def acceptbit(self):