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

无法获取转账交易 转账交易在SecpkMessages 集合中可以获取 但是如果取SecpkMessages交易是没有cid的 #4446

Closed
yuzhongrong opened this issue Oct 16, 2020 · 5 comments

Comments

@yuzhongrong
Copy link

yuzhongrong commented Oct 16, 2020

Unable to get the transfer transaction The transfer transaction can be obtained in the SecpkMessages collection, but there is no cid if the SecpkMessages transaction is taken

@yuzhongrong
Copy link
Author

Uploading image.png…

@yuzhongrong
Copy link
Author

image

@yuzhongrong
Copy link
Author

how to get the cid of secpkmessage?

@jennijuju
Copy link
Member

The response of ChainGetBlockMessages has the CIDs and the messages already, for the bls messages, the indexes line up, for the secpk messages, you have to index them beyond the length of the bls messages

so if theres 10 bls messages and 15 secp messages, there will be a list of 25 cids, the first 10 for the bls messages and the second 15 for the secp

@yuzhongrong
Copy link
Author

ok thanks

magik6k added a commit that referenced this issue Oct 20, 2020
Add a comment to BlockMessages to address #4446.
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