Skip to content

Commit

Permalink
Lint fix for cherry-picked commits
Browse files Browse the repository at this point in the history
  • Loading branch information
CMCDragonkai committed Mar 27, 2022
1 parent 7190ce9 commit 6cd6e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PolykeyAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class PolykeyAgent {
}));
// Remove your own node ID if provided as a seed node
const nodeIdOwn = keyManager.getNodeId();
const nodeIdEncodedOwn = Object.keys(seedNodes).find(nodeIdEncoded => {
const nodeIdEncodedOwn = Object.keys(seedNodes).find((nodeIdEncoded) => {
return nodeIdOwn.equals(nodesUtils.decodeNodeId(nodeIdEncoded)!);
});
if (nodeIdEncodedOwn != null) {
Expand Down
2 changes: 1 addition & 1 deletion src/bin/agent/CommandStart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class CommandStart extends CommandPolykey {
// Will be '[{...}, false]' if `--seed-nodes='...'`
const [seedNodes, defaults] = options.seedNodes;
let seedNodes_ = seedNodes;
if (defaults) seedNodes_ = {...options.network, ...seedNodes};
if (defaults) seedNodes_ = { ...options.network, ...seedNodes };
const agentConfig = {
password,
nodePath: options.nodePath,
Expand Down

0 comments on commit 6cd6e17

Please sign in to comment.