Skip to content

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

Merged
wukongcheng merged 1 commit intoirisnet:developfrom
HaoyangLiu:develop-fix-evidence-issue
Mar 5, 2019
Merged

R4R: Check the validator existence and validator status before getting its pubkey#1341
wukongcheng merged 1 commit intoirisnet:developfrom
HaoyangLiu:develop-fix-evidence-issue

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

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