Ethereum tracking wallet display bugfix

This commit is contained in:
The MMGen Project 2021-05-09 11:56:47 +00:00
commit 1fe32bced9
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2

View file

@ -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])]