1
0

fix: android HistoryScreen was not displaying fiat value of unconfirmed txns

This commit is contained in:
SomberNight
2018-04-12 16:49:25 +02:00
parent 986985c398
commit 8bdf863fca
2 changed files with 7 additions and 4 deletions

View File

@@ -1790,6 +1790,7 @@ class Abstract_Wallet(PrintError):
return None
def price_at_timestamp(self, txid, price_func):
"""Returns fiat price of bitcoin at the time tx got confirmed."""
height, conf, timestamp = self.get_tx_height(txid)
return price_func(timestamp if timestamp else time.time())