mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
Merge branch 'master' of gitorious.org:electrum/electrum
This commit is contained in:
commit
3162edb18f
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ class Wallet:
|
|||
def import_key(self, keypair, password):
|
||||
address, key = keypair.split(':')
|
||||
if not self.is_valid(address): return False
|
||||
if address in self.all_addresses(): return False
|
||||
b = ASecretToSecret( key )
|
||||
if not b: return False
|
||||
secexp = int( b.encode('hex'), 16)
|
||||
|
|
Loading…
Add table
Reference in a new issue