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

Fix Bootnode Again #5473

Merged
merged 10 commits into from
Apr 18, 2020
Merged

Fix Bootnode Again #5473

merged 10 commits into from
Apr 18, 2020

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented Apr 17, 2020

This fixes some changes introduced in #5469. Only setting fallback ip,ports.

@nisdas nisdas requested a review from a team as a code owner April 17, 2020 10:46
@@ -155,9 +156,13 @@ func startKademliaDHT(privKey crypto.PrivKey) {
}

func createListener(ipAddr string, port int, cfg discover.Config) *discover.UDPv5 {
ipAddr, err := iputils.ExternalIPv4()
Copy link
Contributor

Choose a reason for hiding this comment

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

we are overwriting the input value of the func. maybe it doesnt need an input ipAddr?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed it

Copy link
Contributor

@shayzluf shayzluf left a comment

Choose a reason for hiding this comment

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

had one comment

terencechain
terencechain previously approved these changes Apr 17, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit 9cec33f into master Apr 18, 2020
@delete-merged-branch delete-merged-branch bot deleted the fixBootnodeAgain branch April 18, 2020 05:06
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.

4 participants