Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlockHeader should contain BlockIdExt instead of BlockId #109

Open
lajiww opened this issue Feb 19, 2025 · 1 comment
Open

BlockHeader should contain BlockIdExt instead of BlockId #109

lajiww opened this issue Feb 19, 2025 · 1 comment

Comments

@lajiww
Copy link

lajiww commented Feb 19, 2025

hello,
I found when i called
BlockHeader header = tonlib.getBlockHeader(block);

the header only contain type BlockId

Image Image

but i want to get blockIdExt in BlockHeader. i see the rpc return data like blockIdExt.

Image

Could you change type BlockId to BlockIdExt in BlockHeader? Then we can get root_hash and prev blocks root_hash in one rpc call.
Thank you very much. This repo is very helpful to ton's developer.

@neodix42
Copy link
Owner

thanks for reporting, I will change BlockId to BlockIdExt in BlockHeader with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants