fix: get_tx_value
authorThomasV <thomasv@gitorious>
Sun, 4 Nov 2012 10:38:09 +0000 (11:38 +0100)
committerThomasV <thomasv@gitorious>
Sun, 4 Nov 2012 10:38:09 +0000 (11:38 +0100)
lib/gui_text.py

index c6d54ad..7e28681 100644 (file)
@@ -65,7 +65,7 @@ class ElectrumGui:
         b = 0 
         messages = []
         for tx in self.wallet.get_tx_history():
-            v = tx['value'] 
+            v = self.wallet.get_tx_value(tx['tx_hash'])
             b += v
             try:
                 time_str = str( datetime.datetime.fromtimestamp( tx['timestamp']))