1
0

revert to previous restore method, without daemon

This commit is contained in:
ThomasV
2015-10-28 11:11:41 +01:00
parent ca9eb50821
commit 142b5532ec
2 changed files with 13 additions and 8 deletions

View File

@@ -101,7 +101,6 @@ class Commands:
@command('')
def create(self):
"""Create a new wallet"""
return True
@command('wn')
def restore(self, text):
@@ -109,12 +108,6 @@ class Commands:
public key, a master private key, a list of bitcoin addresses
or bitcoin private keys. If you want to be prompted for your
seed, type '?' or ':' (concealed) """
self.wallet.restore(lambda x: x)
if self.network:
msg = "Recovery successful" if self.wallet.is_found() else "Found no history for this wallet"
else:
msg = "This wallet was restored offline. It may contain more addresses than displayed."
return msg
@command('w')
def deseed(self):