mirror of https://github.com/nucypher/nucypher.git
Respond to RFCs in PR #1664
parent
a26daf57b5
commit
f158579f98
|
@ -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]
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue