Skip to content

Commit

Permalink
chore: chain --chain_id to --chain-id
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyletang authored Apr 24, 2024
1 parent 3987aef commit 301254e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ethereum/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func setThresholdSignature(vegaBinary string, newThreshold int, nonce uint64, su
}

if chainID != nil {
args = append(args, "--chain_id", fmt.Sprintf("%d", *chainID))
args = append(args, "--chain-id", fmt.Sprintf("%d", *chainID))
}

args = append(args, getEthereumWalletArgs(signer)...)
Expand Down Expand Up @@ -64,7 +64,7 @@ func addSignerSignature(vegaBinary string, newSigner string, nonce uint64, submi
}

if chainID != nil {
args = append(args, "--chain_id", fmt.Sprintf("%d", *chainID))
args = append(args, "--chain-id", fmt.Sprintf("%d", *chainID))
}

args = append(args, getEthereumWalletArgs(signer)...)
Expand Down

0 comments on commit 301254e

Please sign in to comment.