Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.8.9 #20

Merged
merged 3 commits into from
Dec 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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