Typo in importprivkey, missing self
This commit is contained in:
parent
e06e511e39
commit
a38e789099
|
@ -186,8 +186,8 @@ class Commands:
|
||||||
|
|
||||||
def importprivkey(self, sec):
|
def importprivkey(self, sec):
|
||||||
try:
|
try:
|
||||||
addr = wallet.import_key(sec,self.password)
|
addr = self.wallet.import_key(sec,self.password)
|
||||||
wallet.save()
|
self.wallet.save()
|
||||||
out = "Keypair imported: ", addr
|
out = "Keypair imported: ", addr
|
||||||
except BaseException as e:
|
except BaseException as e:
|
||||||
out = "Error: Keypair import failed: " + str(e)
|
out = "Error: Keypair import failed: " + str(e)
|
||||||
|
|
Loading…
Reference in New Issue