Skip to content

Commit

Permalink
Merge pull request #20 from KenshiTech/v0.8.9
Browse files Browse the repository at this point in the history
V0.8.9
  • Loading branch information
pouya-eghbali committed Dec 25, 2023
2 parents c378932 + f6de17b commit 40798f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/lib/cli/actions/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ export const addressAction = async (
logger.error("No secret key supplied");
logger.warn("Run me with --generate to generate a new secret for you");
return process.exit(1);
} else if (options.generate) {
}

if (!config.secretKey && options.generate) {
const newKeys = makeKeys();
const encodedKeys = encodeKeys(newKeys);
config.secretKey = encodedKeys.secretKey;
Expand Down
4 changes: 3 additions & 1 deletion src/lib/cli/actions/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ export const startAction = async (
logger.error("No secret key supplied");
logger.warn("Run me with --generate to generate a new secret for you");
return process.exit(1);
} else if (options.generate) {
}

if (!config.secretKey && options.generate) {
const newKeys = makeKeys();
const encodedKeys = encodeKeys(newKeys);
config.secretKey = encodedKeys.secretKey;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
MetaData,
} from "./types.js";

export const version = "0.8.8";
export const version = "0.8.9";
export const protocolVersion = "0.8.0";

export const topic = sha(`Kenshi.Unchained.Testnet.Topic.V${protocolVersion}`);
Expand Down

0 comments on commit 40798f3

Please sign in to comment.