Skip to content

Commit

Permalink
This reverts commit 11789f3.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtsitrin committed Sep 24, 2024
1 parent 11789f3 commit b0cb7b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/rollapp/client/cli/tx_create_rollapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@ func parseMetadata(cmd *cobra.Command) (*types.RollappMetadata, error) {
return nil, err
}

var metadata types.RollappMetadata
metadata := new(types.RollappMetadata)
if metadataFlag != "" {
if err = utils.ParseJsonFromFile(metadataFlag, metadata); err != nil {
return nil, err
}
}

return &metadata, nil
return metadata, nil
}

0 comments on commit b0cb7b0

Please sign in to comment.