Created
December 12, 2015 11:19
-
-
Save ohac/e686ec2dcf5ef9c40b07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/commands.py b/lib/commands.py | |
index d1375f3..735da07 100644 | |
--- a/lib/commands.py | |
+++ b/lib/commands.py | |
@@ -616,6 +616,11 @@ class Commands: | |
self.network.send([('blockchain.address.subscribe', [address])], callback) | |
return True | |
+ @command('w') | |
+ def createnewaddress(self): | |
+ """Create a new address.""" | |
+ self.wallet.create_new_address(None, False) | |
+ | |
param_descriptions = { | |
'privkey': 'Private key. Type \'?\' to get a prompt.', | |
'destination': 'Litecoin address, contact or alias', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment