Browse Source

Typo in importprivkey, missing self

283
nelisky 12 years ago
parent
commit
a38e789099
  1. 4
      lib/commands.py

4
lib/commands.py

@ -186,8 +186,8 @@ class Commands:
def importprivkey(self, sec):
try:
addr = wallet.import_key(sec,self.password)
wallet.save()
addr = self.wallet.import_key(sec,self.password)
self.wallet.save()
out = "Keypair imported: ", addr
except BaseException as e:
out = "Error: Keypair import failed: " + str(e)

Loading…
Cancel
Save