Skip to content

Commit

Permalink
Merge pull request #89 from telosnetwork/dev
Browse files Browse the repository at this point in the history
fix undefined error
  • Loading branch information
poplexity authored Jun 7, 2024
2 parents 1a5f55e + 6c779a4 commit 50b3c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ws/WebsocketRPC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class WebsocketRPC {
sub.handleRawAction(data);
const duration = ((Number(process.hrtime.bigint()) - Number(tRef)) / 1000).toFixed(3);
for(let ws of sub.wsClients){
console.log(`WSPUBLISH: ${new Date().toISOString()} - ${duration} μs - ${ws[0].clientInfo.ip} (0/0) - ${ws[0].clientInfo.origin} - ${data.type.toUppercase()}`);
console.log(`WSPUBLISH: ${new Date().toISOString()} - ${duration} μs - ${ws[0].clientInfo.ip} (0/0) - ${ws[0].clientInfo.origin} - raw`);
}
}
}
Expand Down

0 comments on commit 50b3c17

Please sign in to comment.