FIX: minor improv
This commit is contained in:
		
							parent
							
								
									68fd866894
								
							
						
					
					
						commit
						26692d6c92
					
				@ -27,6 +27,7 @@ if (config.bitcoind) {
 | 
			
		||||
        console.error('bitcoind is not caught up');
 | 
			
		||||
        process.exit(1);
 | 
			
		||||
      }
 | 
			
		||||
      console.log('bitcoind getblockchaininfo:', info);
 | 
			
		||||
    } else {
 | 
			
		||||
      console.error('bitcoind failure:', err, info);
 | 
			
		||||
      process.exit(2);
 | 
			
		||||
@ -41,7 +42,7 @@ lightning.getInfo({}, function (err, info) {
 | 
			
		||||
    process.exit(3);
 | 
			
		||||
  }
 | 
			
		||||
  if (info) {
 | 
			
		||||
    console.info(info);
 | 
			
		||||
    console.info('lnd getinfo:', info);
 | 
			
		||||
    if (!info.synced_to_chain && !config.forceStart) {
 | 
			
		||||
      console.error('lnd not synced');
 | 
			
		||||
      // process.exit(4);
 | 
			
		||||
 | 
			
		||||
@ -143,7 +143,7 @@ lightning.listChannels({}, function (err, response) {
 | 
			
		||||
          '--connect',
 | 
			
		||||
          important_channels[important].uri.split('@')[1],
 | 
			
		||||
          '--local_amt',
 | 
			
		||||
          important_channels[important].wumbo ? '50000000' : '16777215',
 | 
			
		||||
          important_channels[important].wumbo ? '100000000' : '16777215',
 | 
			
		||||
          '--remote_csv_delay 144',
 | 
			
		||||
          '--sat_per_byte 10',
 | 
			
		||||
          '#',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user