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.' |                     v => (!!v && bip39.validateMnemonic(v)) || 'Invalid mnemonic.' | ||||||
|                 ], |                 ], | ||||||
|                 entropy: [ |                 entropy: [ | ||||||
|                     v => (!!v && v.match(/[0-9a-fA-F]{32}/)) || 'Invalid entropy.' |                     v => (!!v && !!v.match(/[0-9a-fA-F]{32}/)) || 'Invalid entropy.' | ||||||
| 
 |  | ||||||
|                 ] |                 ] | ||||||
|             } |             } | ||||||
|         }), |         }), | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user