Typo in importprivkey, missing self

This commit is contained in:
nelisky 2013-03-06 11:32:11 +00:00
parent e06e511e39
commit a38e789099
1 changed files with 2 additions and 2 deletions

View File

@ -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)