Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Update p2p block response not to use the decoding data access - Closes #6573 #6578

Merged
merged 2 commits into from
Jul 13, 2021

Conversation

shuse2
Copy link
Collaborator

@shuse2 shuse2 commented Jul 13, 2021

What was the problem?

This PR resolves #6573

How was it solved?

  • Replace getBlockHeaderByID usage in handleRPCGetBlocksFromId to use getRawBlockHeaderByID which does not decode the asset of block

How was it tested?

  • Sync 2 nodes in the network with large genesis block

@shuse2 shuse2 self-assigned this Jul 13, 2021
@shuse2 shuse2 merged commit 4cf62f9 into hotfix/5.1.2 Jul 13, 2021
@shuse2 shuse2 deleted the 6573-fix_p2p_block_response branch July 13, 2021 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants