Browse Source

proto.btc.tw.json: support export of non-MMGen addresses

The MMGen Project 2 years ago
parent
commit
2981cfbb8f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mmgen/proto/btc/tw/json.py

+ 1 - 1
mmgen/proto/btc/tw/json.py

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