Skip to content

Commit

Permalink
chore: fix biome and add ma listing on logging
Browse files Browse the repository at this point in the history
  • Loading branch information
d-roak committed Dec 22, 2024
1 parent 39526c7 commit a942d28
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
"bugs": {
"url": "https://github.com/topology-foundation/ts-drp/issues"
},
"workspaces": [
"packages/*",
"examples/*"
],
"workspaces": ["packages/*", "examples/*"],
"scripts": {
"bench": "vitest bench",
"biome-check": "biome check",
Expand Down
1 change: 1 addition & 0 deletions packages/network/src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ export class DRPNetworkNode {
],
});

log.info("running on:", this._node.getMultiaddrs());
if (!this._config?.bootstrap) {
for (const addr of this._config?.bootstrap_peers || []) {
try {
Expand Down
1 change: 0 additions & 1 deletion packages/node/src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const run = async () => {
program.parse(process.argv);
const opts = program.opts();
const config: DRPNodeConfig | undefined = loadConfig(opts.config);
console.log("config", config);

const node = new DRPNode(config);
await node.start();
Expand Down

0 comments on commit a942d28

Please sign in to comment.