Skip to content

Commit

Permalink
move header comment above func
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zbitskiy
<65323360+algorandskiy@users.noreply.github.com>
  • Loading branch information
joe-p committed Mar 8, 2025
1 parent 5d680b8 commit 2e28fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/algod/api/server/v2/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,8 @@ func convertSimulateInitialStates(initialStates *simulation.ResourcesInitialStat
}
}

// Convert the resources to the model structs
func convertPopulatedResourceArrays(populatedResources simulation.PopulatedResourceArrays) *model.ResourceArrays {
// Convert the resources to the model structs
accounts := make([]string, len(populatedResources.Accounts))
for i, account := range populatedResources.Accounts {
accounts[i] = account.String()

Check warning on line 571 in daemon/algod/api/server/v2/utils.go

View check run for this annotation

Codecov / codecov/patch

daemon/algod/api/server/v2/utils.go#L568-L571

Added lines #L568 - L571 were not covered by tests
Expand Down

0 comments on commit 2e28fa4

Please sign in to comment.