fix syntax error in lite gui and get_default_label
This commit is contained in:
@@ -439,9 +439,10 @@ class MiniWindow(QDialog):
|
||||
|
||||
def update_history(self, tx_history):
|
||||
for tx in tx_history[-10:]:
|
||||
address = tx["default_label"]
|
||||
value = self.actuator.wallet.get_tx_value(tx['tx_hash'])
|
||||
amount = D(value / 10**8
|
||||
tx_hash = tx['tx_hash']
|
||||
address = self.actuator.wallet.get_default_label(tx_hash)
|
||||
value = self.actuator.wallet.get_tx_value(tx_hash)
|
||||
amount = D(value / 10**8)
|
||||
self.history_list.append(address, amount)
|
||||
|
||||
def acceptbit(self):
|
||||
|
||||
Reference in New Issue
Block a user