u
This commit is contained in:
		
							parent
							
								
									5eb589ac2c
								
							
						
					
					
						commit
						437ba95af4
					
				
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							@ -518,7 +518,7 @@ class TICrypto {
 | 
				
			|||||||
   * @return {String} address
 | 
					   * @return {String} address
 | 
				
			||||||
   * @memberof TICrypto
 | 
					   * @memberof TICrypto
 | 
				
			||||||
   */
 | 
					   */
 | 
				
			||||||
  static secword2address(secword, { coin, pass, path, tool, hasher }) {
 | 
					  static secword2address(secword, { coin, pass, path, tool, hasher } = {}) {
 | 
				
			||||||
    coin = my.COIN_LIST.indexOf(coin?.toUpperCase()) >= 0 ? coin.toUpperCase() : my.COIN
 | 
					    coin = my.COIN_LIST.indexOf(coin?.toUpperCase()) >= 0 ? coin.toUpperCase() : my.COIN
 | 
				
			||||||
    let kp = this.secword2keypair(secword, { coin, pass, path, tool, hasher })
 | 
					    let kp = this.secword2keypair(secword, { coin, pass, path, tool, hasher })
 | 
				
			||||||
    if (kp) {
 | 
					    if (kp) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user