Skip to content

Commit

Permalink
modify bootstrap check (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukantoraymond authored Jan 31, 2025
1 parent 5ad51bc commit b67eec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ssh/ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ func RunSSHCheckAvalancheGoVersion(host *models.Host) ([]byte, error) {
// RunSSHCheckBootstrapped checks if node is bootstrapped to primary network
func RunSSHCheckBootstrapped(host *models.Host) ([]byte, error) {
// Craft and send the HTTP POST request
requestBody := "{\"jsonrpc\":\"2.0\", \"id\":1,\"method\" :\"info.isBootstrapped\", \"params\": {\"chain\":\"X\"}}"
requestBody := "{\"jsonrpc\":\"2.0\", \"id\":1,\"method\" :\"info.isBootstrapped\", \"params\": {\"chain\":\"P\"}}"
return PostOverSSH(host, "", requestBody)
}

Expand Down

0 comments on commit b67eec8

Please sign in to comment.