diff --git a/package.json b/package.json index 465028b..a2446a6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@debros/node", "type": "module", - "version": "0.0.17-alpha", + "version": "0.0.18-alpha", "description": "DeBros Node", "main": "dist/index.js", "bin": "dist/cli.js", diff --git a/scripts/install.sh b/scripts/install.sh index 61d0a9b..209bde6 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -422,7 +422,6 @@ log "${CYAN}please rerun this script after rebooting to finish the installation. log "${BLUE}==================================================${NOCOLOR}" # Information about the DeBros CLI -log "${BLUE}==================================================${NOCOLOR}" log "${GREEN}DeBros CLI Information:${NOCOLOR}" log "${CYAN}The DeBros CLI is a tool that runs on your local development machine,${NOCOLOR}" log "${CYAN}not on the node itself. To install it on your development machine, run:${NOCOLOR}" diff --git a/src/components/server/healthService.ts b/src/components/server/healthService.ts index 28dda07..53bb3ee 100644 --- a/src/components/server/healthService.ts +++ b/src/components/server/healthService.ts @@ -42,7 +42,7 @@ export const startStatusReporting = (interval = 600000) => { console.log('CONNECTED PEERS:'); connectedPeers.forEach((peer, i) => { // Adjust based on your peer structure from the new @debros/network - const peerId = peer.id || peer.toString(); + const peerId = peer.fingerprint || peer.toString(); const load = peer.load || 'unknown'; console.log(`${i + 1}. ${peerId.substring(0, 15)}... - Load: ${load}%`); });