From 6aeab664637681afcaba9f4384091386d57a5a50 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 11 May 2020 08:12:09 +0200 Subject: [PATCH] fix #6157 --- electrum/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/wallet.py b/electrum/wallet.py index fcfa84749..0857477f2 100644 --- a/electrum/wallet.py +++ b/electrum/wallet.py @@ -614,7 +614,7 @@ class Abstract_Wallet(AddressSynchronizer, ABC): def get_onchain_history(self, *, domain=None): monotonic_timestamp = 0 for hist_item in self.get_history(domain=domain): - monotonic_timestamp = max(monotonic_timestamp, (hist_item.tx_mined_status.timestamp or float('inf'))) + monotonic_timestamp = max(monotonic_timestamp, (hist_item.tx_mined_status.timestamp or 999_999_999_999)) yield { 'txid': hist_item.txid, 'fee_sat': hist_item.fee,