From 1fe32bced9c5bbd714161195f79af95a9a84a974 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sun, 9 May 2021 11:56:47 +0000 Subject: [PATCH] Ethereum tracking wallet display bugfix --- mmgen/tw.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmgen/tw.py b/mmgen/tw.py index 8b682005..2ac00381 100755 --- a/mmgen/tw.py +++ b/mmgen/tw.py @@ -49,6 +49,8 @@ _date_formatter = { } async def _set_dates(rpc,us): + if rpc.proto.base_proto != 'Bitcoin': + return if us and us[0].date is None: # 'blocktime' differs from 'time', is same as getblockheader['time'] dates = [o['blocktime'] for o in await rpc.gathered_call('gettransaction',[(o.txid,) for o in us])]