mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-04 16:17:23 +00:00
BEEFY: client support for detecting equivocated votes (#13285)
* client/beefy: detect equivocated votes * client/beefy: make sure to persist state after voting * client/beefy: drop never-used aux-schema v2 migration * impl review suggestion --------- Signed-off-by: Adrian Catangiu <adrian@parity.io>
This commit is contained in:
@@ -77,6 +77,7 @@ where
|
||||
self.validator_set_id
|
||||
.cmp(&other.validator_set_id)
|
||||
.then_with(|| self.block_number.cmp(&other.block_number))
|
||||
.then_with(|| self.payload.cmp(&other.payload))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user