Skip to content

fix(core): use block height value in Exchange.Get error strings#4935

Open
cuiweixie wants to merge 1 commit intocelestiaorg:mainfrom
cuiweixie:fix/core-exchange-get-height-formatting
Open

fix(core): use block height value in Exchange.Get error strings#4935
cuiweixie wants to merge 1 commit intocelestiaorg:mainfrom
cuiweixie:fix/core-exchange-get-height-formatting

Conversation

@cuiweixie
Copy link
Copy Markdown

@cuiweixie cuiweixie commented Apr 12, 2026

Summary

Exchange.Get used &block.Height in several fmt.Errorf/fmt calls with %d, which formats the pointer value instead of the block height.

Changes

  • Pass block.Height instead of &block.Height when formatting errors in Get.

Open with Devin

Pass block.Height to fmt.Errorf instead of &block.Height so %d formats
the height correctly.
@cuiweixie cuiweixie requested a review from a team as a code owner April 12, 2026 05:16
@cuiweixie cuiweixie requested a review from mcrakhman April 12, 2026 05:16
@github-actions github-actions bot added the external Issues created by non node team members label Apr 12, 2026
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external Issues created by non node team members

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants