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

R4R: Check the validator existence and validator status before getting its pubkey #1341

Merged
merged 1 commit into from
Mar 5, 2019
Merged

R4R: Check the validator existence and validator status before getting its pubkey #1341

merged 1 commit into from
Mar 5, 2019

Conversation

HaoyangLiu
Copy link

closes: #1334

@HaoyangLiu HaoyangLiu changed the title R4R: Check the validator existence and validator status before getting its pubkey WIP: Check the validator existence and validator status before getting its pubkey Mar 5, 2019
@haifengxi haifengxi added bug Something isn't working slash labels Mar 5, 2019
@HaoyangLiu HaoyangLiu changed the title WIP: Check the validator existence and validator status before getting its pubkey R4R: Check the validator existence and validator status before getting its pubkey Mar 5, 2019
@wukongcheng wukongcheng merged commit 1998475 into irisnet:develop Mar 5, 2019
return
}

pubkey, err := k.getPubkey(ctx, addr)
if err != nil {
panic(fmt.Sprintf("Validator consensus-address %v not found", consAddr))
Copy link
Contributor

Choose a reason for hiding this comment

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

no panic

@HaoyangLiu HaoyangLiu deleted the develop-fix-evidence-issue branch March 6, 2019 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working slash
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants