Skip to content

Commit

Permalink
fix: local node fails to start with custom --network-tag (#760)
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Yanev <[email protected]>
  • Loading branch information
victor-yanev authored Sep 2, 2024
1 parent 63003a3 commit 4c4df92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashgraph/hedera-local",
"version": "2.29.2",
"version": "2.29.3",
"description": "Developer tooling for running Local Hedera Network (Consensus + Mirror Nodes).",
"main": "index.ts",
"scripts": {
Expand Down
4 changes: 1 addition & 3 deletions src/state/InitState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,7 @@ export class InitState implements IState{
} {
const node = variable.key;
let tag = variable.value;
// ToDo: Revert this change, when docker hub issues are resolved
// if (this.cliOptions.networkTag && (node === "NETWORK_NODE_IMAGE_TAG" || node === "HAVEGED_IMAGE_TAG")) {
if (this.cliOptions.networkTag && node === "NETWORK_NODE_IMAGE_TAG") {
if (this.cliOptions.networkTag && (node === "NETWORK_NODE_IMAGE_TAG" || node === "HAVEGED_IMAGE_TAG")) {
tag = this.cliOptions.networkTag;
} else if(this.cliOptions.mirrorTag && node === "MIRROR_IMAGE_TAG") {
tag = this.cliOptions.mirrorTag;
Expand Down

0 comments on commit 4c4df92

Please sign in to comment.