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

[ONT-896] fix import block error, cause by read count problem #371

Merged
merged 2 commits into from
Jun 20, 2018
Merged

[ONT-896] fix import block error, cause by read count problem #371

merged 2 commits into from
Jun 20, 2018

Conversation

gasby88
Copy link
Contributor

@gasby88 gasby88 commented Jun 19, 2018

signed-off-by:wangbing@onchain.com

if err != nil {
return fmt.Errorf("Read block height:%d data size error:%s ", i, err)
}
size, err := serialization.ReadUint32(bytes.NewReader(sizeData))
Copy link
Contributor

Choose a reason for hiding this comment

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

this modification has the same functionalities with the original one

fix
signed-off-by:wangbing@onchain.com
@laizy laizy merged commit 72c02da into ontio:master Jun 20, 2018
@gasby88 gasby88 deleted the import branch July 17, 2018 03:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants