Skip to content
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
2 changes: 1 addition & 1 deletion docs/src/app/validator/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export STARKNET_SALT="0x..."`} />

<p>Start your validator client:</p>

<CodeBlock code="starknode-kit run starknet-staking-v2" />
<CodeBlock code="starknode-kit validator start" />

<h2 className="text-3xl font-semibold mt-16 mb-6">Monitoring Your Validator</h2>

Expand Down
2 changes: 1 addition & 1 deletion pkg/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (i *installer) InstallClient(client types.ClientType) error {
func (i *installer) UpdateClient(client types.ClientType) error {
clientDir := i.getClientDirectory(client)
clientPath := i.getClientPath(client, clientDir)
return i.installClient(client, clientDir, clientPath)
return i.installClient(client, clientPath, clientDir)
}

// getClientDirectory returns the appropriate directory for the client
Expand Down