Fix LND autowithdrawal error message (#1052)
This commit is contained in:
		
							parent
							
								
									f3c1ebefcf
								
							
						
					
					
						commit
						8956bc8809
					
				@ -123,7 +123,7 @@ async function autowithdrawLND ({ amount, maxFee }, { me, models, lnd }) {
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  if (!wallet || !wallet.walletLND) {
 | 
			
		||||
    throw new Error('no lightning address wallet found')
 | 
			
		||||
    throw new Error('no lnd wallet found')
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  const { walletLND: { cert, macaroon, socket } } = wallet
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user