1
0

wallet.get_label method

This commit is contained in:
thomasv
2012-11-05 11:08:16 +01:00
parent 254a5d8790
commit 765201be4e
5 changed files with 11 additions and 13 deletions

View File

@@ -440,10 +440,10 @@ class MiniWindow(QDialog):
def update_history(self, tx_history):
for tx in tx_history[-10:]:
tx_hash = tx['tx_hash']
address = self.actuator.wallet.get_default_label(tx_hash)
label = self.actuator.wallet.get_label(tx_hash)[0]
value = self.actuator.wallet.get_tx_value(tx_hash)
amount = D(value) / 10**8
self.history_list.append(address, amount)
self.history_list.append(label, amount)
def acceptbit(self):
self.actuator.acceptbit(self.quote_currencies[0])