                  addLog(`‚úÖ Network operational: ${data.connected_nodes} nodes connected`, 'success');
                } else {
                    addLog(`‚ö†Ô∏è Network status: ${data.status}`, 'warning');
                }
                
            } catch (error) {
                console.error('Failed to fetch network status:', error);
                showToast('Failed to connect to network', 'error');
                addLog('‚ùå Failed to fetch network status', 'error');
        