more vanityonionr changes
This commit is contained in:
		
							parent
							
								
									b8348be65a
								
							
						
					
					
						commit
						56e86460d1
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -143,7 +143,7 @@ def add_vanity(): | |||
|         try: | ||||
|             vanity = vanityonionr.find_multiprocess(words) | ||||
|         except ValueError: | ||||
|             logger.warn('Vanity words must be valid english bip39', | ||||
|             logger.warn('Vanity words must be valid niceware', | ||||
|                         terminal=True) | ||||
|         else: | ||||
|             b32_pub = unpaddedbase32.b32encode(vanity[0]) | ||||
|  |  | |||
|  | @ -43,7 +43,6 @@ def find_vanity_mnemonic(start_words: str, queue): | |||
|         check += 1 | ||||
|     else: | ||||
|         queue.put(key_pair) | ||||
|         #print("DONE", check, key_pair) | ||||
|     return key_pair | ||||
| 
 | ||||
| def _start(start_words, obj): | ||||
|  | @ -79,7 +78,7 @@ def find_multiprocess(start_words: str): | |||
|     start_words = re.sub(' +', ' ', start_words) | ||||
|     test_words = str(start_words) | ||||
| 
 | ||||
|     for word in test_words.split(' '):  | ||||
|     for word in test_words.split(' '): | ||||
|         for validword in wordlist: | ||||
|             if word == validword: | ||||
|                 break | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue