From cafdff7f427c8706d93c00457e0c5075cd29bf17 Mon Sep 17 00:00:00 2001 From: fdemortain <35373810+fdemortain@users.noreply.github.com> Date: Wed, 9 May 2018 14:09:42 +0200 Subject: [PATCH] Update bitmessagecli.py --- src/bitmessagecli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitmessagecli.py b/src/bitmessagecli.py index 7307fc4d..bf3a99ae 100644 --- a/src/bitmessagecli.py +++ b/src/bitmessagecli.py @@ -1378,7 +1378,7 @@ def UI(usrInput): #Main user menu elif usrInput == "generateaddress": #Generates a new address uInput = userInput('\nWould you like to create a (D)eterministic or (R)andom address?').lower() - if uInput == "d" or uInput == "deterministic": #Creates a deterministic address + if uInput in ["d", "deterministic"]: #Creates a deterministic address deterministic = True #lbl = raw_input('Label the new address:') #currently not possible via the api