Skip to content
Merged
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
8 changes: 6 additions & 2 deletions cmd/blockchaincmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ func deployBlockchain(cmd *cobra.Command, args []string) error {

deployBalance := uint64(deployBalanceAVAX * float64(units.Avax))
// whether user has created Avalanche Nodes when blockchain deploy command is called
if sidecar.Sovereign {
if sidecar.Sovereign && !subnetOnly {
if changeOwnerAddress == "" {
// use provided key as change owner unless already set
if pAddr, err := kc.PChainFormattedStrAddresses(); err == nil && len(pAddr) > 0 {
Expand Down Expand Up @@ -741,7 +741,6 @@ func deployBlockchain(cmd *cobra.Command, args []string) error {
return err
}
}

var (
savePartialTx bool
blockchainID ids.ID
Expand Down Expand Up @@ -788,6 +787,11 @@ func deployBlockchain(cmd *cobra.Command, args []string) error {
}
}

// stop here if subnetOnly is true
if subnetOnly {
return nil
}

tracked := false

if sidecar.Sovereign {
Expand Down
Loading