ThomasV 8 years ago
parent
commit
96c8619194
  1. 2
      lib/commands.py

2
lib/commands.py

@ -272,7 +272,7 @@ class Commands:
"""Get private keys of addresses. You may pass a single wallet address, or a list of wallet addresses.""" """Get private keys of addresses. You may pass a single wallet address, or a list of wallet addresses."""
if is_address(address): if is_address(address):
return self.wallet.get_private_key(address, self._password) return self.wallet.get_private_key(address, self._password)
domain = json_loads(address) domain = address
return [self.wallet.get_private_key(address, self._password) for address in domain] return [self.wallet.get_private_key(address, self._password) for address in domain]
@command('w') @command('w')

Loading…
Cancel
Save