mirror of
				https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
				synced 2025-11-04 04:15:48 +00:00 
			
		
		
		
	NetworkID reported as null if unknown
This commit is contained in:
		@@ -151,7 +151,7 @@ if (!wss) {
 | 
			
		||||
        res.setHeader('content-type', 'application/json')
 | 
			
		||||
        res.json({
 | 
			
		||||
          version,
 | 
			
		||||
          networkid: Number(process.env?.NETWORKID ?? 0) || 0,
 | 
			
		||||
          networkid: Number(process.env?.NETWORKID ?? 0) || null,
 | 
			
		||||
          uptime: new Date() - startDate,
 | 
			
		||||
          lastLedger: lastLedger ?? null,
 | 
			
		||||
          lastWsPushedLedger: lastWsPushedLedger ?? null,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user