Skip to content

Conversation

@jeongseup
Copy link
Contributor

This is implement for the issue (#473) and will be merged in other PR (#495) for fully implement other functions to check misbehaviors

let byzantine_validator = vote.signer;
let double_proposal = vote.proposal;

return vec![ConsensusResponse::ViolationReport {
Copy link
Member

Choose a reason for hiding this comment

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

Why early return? What if there are multiple double votes?

@jeongseup jeongseup force-pushed the vetomint/add-function-for-checking-double-votes branch from 31b7f14 to 54c808a Compare August 27, 2023 16:22
@jeongseup jeongseup force-pushed the vetomint/add-function-for-checking-double-votes branch from 54c808a to 14f9c79 Compare August 27, 2023 16:41
@junha1 junha1 merged commit 453c87d into postech-dao:main Aug 28, 2023
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.

2 participants