mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
Fix parsing of old format contact field in wallet (#589)
* wallet parse contact field if its old format * default checks for contacts
This commit is contained in:
@@ -43,7 +43,9 @@ async def info() -> GetInfoResponse:
|
||||
logger.trace("> GET /v1/info")
|
||||
mint_features = ledger.mint_features()
|
||||
contact_info = [
|
||||
MintInfoContact(method=m, info=i) for m, i in settings.mint_info_contact
|
||||
MintInfoContact(method=m, info=i)
|
||||
for m, i in settings.mint_info_contact
|
||||
if m and i
|
||||
]
|
||||
return GetInfoResponse(
|
||||
name=settings.mint_info_name,
|
||||
|
||||
Reference in New Issue
Block a user