account list --show_seed fix
This commit is contained in:
parent
d270e84810
commit
a8f8ff30a2
1 changed files with 2 additions and 2 deletions
|
@ -41,10 +41,10 @@ class BaseWalletManager:
|
||||||
self.wallets.append(wallet)
|
self.wallets.append(wallet)
|
||||||
return wallet
|
return wallet
|
||||||
|
|
||||||
async def get_detailed_accounts(self, confirmations=6, show_seed=False):
|
async def get_detailed_accounts(self, **kwargs):
|
||||||
ledgers = {}
|
ledgers = {}
|
||||||
for i, account in enumerate(self.accounts):
|
for i, account in enumerate(self.accounts):
|
||||||
details = await account.get_details(confirmations=confirmations, show_seed=True)
|
details = await account.get_details(**kwargs)
|
||||||
details['is_default_account'] = i == 0
|
details['is_default_account'] = i == 0
|
||||||
ledger_id = account.ledger.get_id()
|
ledger_id = account.ledger.get_id()
|
||||||
ledgers.setdefault(ledger_id, [])
|
ledgers.setdefault(ledger_id, [])
|
||||||
|
|
Loading…
Reference in a new issue