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

Decode peer ID properly when fetching peer #8883

Merged
merged 2 commits into from
May 17, 2021
Merged

Conversation

rkapka
Copy link
Contributor

@rkapka rkapka commented May 11, 2021

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

Peer ID is not decoded properly before using it later in GetPeer function. This PR corrects it.

Which issues(s) does this PR fix?

N/A

Other notes for review

N/A

# Conflicts:
#	beacon-chain/rpc/nodev1/node_test.go
@rkapka rkapka added Ready For Review API Api related tasks labels May 11, 2021
@rkapka rkapka requested a review from a team as a code owner May 11, 2021 11:11
@rkapka rkapka requested review from 0xKiwi, terencechain and nisdas May 11, 2021 11:11
@codecov
Copy link

codecov bot commented May 11, 2021

Codecov Report

Merging #8883 (a820896) into develop (2f10b1c) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #8883      +/-   ##
===========================================
- Coverage    60.83%   60.82%   -0.01%     
===========================================
  Files          527      527              
  Lines        37173    37173              
===========================================
- Hits         22613    22610       -3     
- Misses       11319    11324       +5     
+ Partials      3241     3239       -2     

@prylabs-bulldozer prylabs-bulldozer bot merged commit 519e1e4 into develop May 17, 2021
@delete-merged-branch delete-merged-branch bot deleted the decode-peer-id branch May 17, 2021 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Api related tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants