Respond to RFCs in PR #1664

pull/1664/head
Kieran Prasch 2020-03-14 11:18:01 -07:00
parent a26daf57b5
commit f158579f98
No known key found for this signature in database
GPG Key ID: 199AB839D4125A62
2 changed files with 3 additions and 4 deletions

View File

@ -142,8 +142,8 @@ class ClefSigner(Signer):
@validate_checksum_address
def is_device(self, account: str):
return True # TODO: Detect HW v. SW Wallets via clef API
return True # TODO: Detect HW v. SW Wallets via clef API - #1772
def accounts(self) -> List[str]:
normalized_addresses = self.w3.manager.request_blocking("account_list", [])
checksum_addresses = [to_checksum_address(addr) for addr in normalized_addresses]

View File

@ -20,8 +20,6 @@ import inspect
from typing import List, Tuple, Optional
from hexbytes import HexBytes
from nucypher.keystore import keypairs
from nucypher.keystore.keypairs import SigningKeypair, DecryptingKeypair
from umbral import pre
from umbral.keys import UmbralPublicKey, UmbralPrivateKey, UmbralKeyingMaterial
@ -29,6 +27,7 @@ from nucypher.blockchain.eth.decorators import validate_checksum_address
from nucypher.blockchain.eth.interfaces import BlockchainInterfaceFactory, BlockchainInterface
from nucypher.blockchain.eth.signers import Signer, Web3Signer
from nucypher.datastore import keypairs
from nucypher.datastore.keypairs import SigningKeypair, DecryptingKeypair
class PowerUpError(TypeError):