Skip to content

Commit

Permalink
Reorder assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
kirugan committed Dec 11, 2024
1 parent 018aee2 commit 7acefe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/juno/dbcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ func dbInfo(cmd *cobra.Command, args []string) error {
if err != nil {
return fmt.Errorf("failed to get schema metadata: %v", err)
}

Check warning on line 105 in cmd/juno/dbcmd.go

View check run for this annotation

Codecov / codecov/patch

cmd/juno/dbcmd.go#L104-L105

Added lines #L104 - L105 were not covered by tests
info.SchemaVersion = schemaMeta.Version

info.SchemaVersion = schemaMeta.Version
info.Network = getNetwork(headBlock, stateUpdate.StateDiff)
info.ChainHeight = headBlock.Number
info.LatestBlockHash = headBlock.Hash
Expand Down

0 comments on commit 7acefe6

Please sign in to comment.