mirror of
				https://github.com/CorentinTh/it-tools.git
				synced 2025-11-04 02:47:00 -05:00 
			
		
		
		
	fix: array to bool in rules
Signed-off-by: Corentin Thomasset <corentin.thomasset74@gmail.com>
This commit is contained in:
		
							parent
							
								
									a282c526c1
								
							
						
					
					
						commit
						06aac238b2
					
				@ -56,8 +56,7 @@
 | 
			
		||||
                    v => (!!v && bip39.validateMnemonic(v)) || 'Invalid mnemonic.'
 | 
			
		||||
                ],
 | 
			
		||||
                entropy: [
 | 
			
		||||
                    v => (!!v && v.match(/[0-9a-fA-F]{32}/)) || 'Invalid entropy.'
 | 
			
		||||
 | 
			
		||||
                    v => (!!v && !!v.match(/[0-9a-fA-F]{32}/)) || 'Invalid entropy.'
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        }),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user