Browse Source

cleanup

283
ThomasV 12 years ago
parent
commit
2abf1b93cb
  1. 6
      lib/wallet.py

6
lib/wallet.py

@ -934,10 +934,8 @@ class Wallet:
private_keys = self.get_private_key(address, password)
for sec in private_keys:
compressed = is_compressed(sec)
pkey = regenerate_key(sec)
pubkey = GetPubKey(pkey.pubkey, compressed)
keypairs[ pubkey.encode('hex') ] = sec
pubkey = public_key_from_private_key(sec)
keypairs[ pubkey ] = sec
tx.sign(keypairs)

Loading…
Cancel
Save