proto.btc.tw.json: support export of non-MMGen addresses
This commit is contained in:
parent
6622b8674b
commit
2981cfbb8f
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ class BitcoinTwJSON(TwJSON):
|
|||
|
||||
async def get_entries(self): # TODO: include 'received' field
|
||||
return sorted(
|
||||
[self.entry_tuple(d.twmmid.obj, d.addr, d.amt, d.comment)
|
||||
[self.entry_tuple(d.twmmid, d.addr, d.amt, d.comment)
|
||||
for d in (await self.addrlist).data],
|
||||
key = lambda x: x.mmgen_id.sort_key )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue