fix: get_tx_value
This commit is contained in:
parent
4788ea62de
commit
13c9991be8
|
@ -440,7 +440,8 @@ class MiniWindow(QDialog):
|
||||||
def update_history(self, tx_history):
|
def update_history(self, tx_history):
|
||||||
for tx in tx_history[-10:]:
|
for tx in tx_history[-10:]:
|
||||||
address = tx["default_label"]
|
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)
|
self.history_list.append(address, amount)
|
||||||
|
|
||||||
def acceptbit(self):
|
def acceptbit(self):
|
||||||
|
|
Loading…
Reference in New Issue