l 563 : # Generate Address -> # Delete Address
l 1381 : determinstic -> deterministic
This commit is contained in:
fdemortain 2018-05-02 09:37:57 +02:00 committed by GitHub
parent 634a49cd6d
commit ac297e8d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -560,7 +560,7 @@ def genAdd(lbl,deterministic, passphrase, numOfAdd, addVNum, streamNum, ripe): #
else: else:
return 'Entry Error' return 'Entry Error'
def delMilAddr(): #Generate address def delMilAddr(): #Delete address
global usrPrompt global usrPrompt
try: try:
response = api.listAddresses2() response = api.listAddresses2()
@ -1378,7 +1378,7 @@ def UI(usrInput): #Main user menu
elif usrInput == "generateaddress": #Generates a new address elif usrInput == "generateaddress": #Generates a new address
uInput = userInput('\nWould you like to create a (D)eterministic or (R)andom address?').lower() uInput = userInput('\nWould you like to create a (D)eterministic or (R)andom address?').lower()
if uInput == "d" or uInput == "determinstic": #Creates a deterministic address if uInput == "d" or uInput == "deterministic": #Creates a deterministic address
deterministic = True deterministic = True
#lbl = raw_input('Label the new address:') #currently not possible via the api #lbl = raw_input('Label the new address:') #currently not possible via the api