mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 17:01:07 +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:
1 parent
c000d18111
commit
8851bbb0f0
13 files changed
+368
-350
No files matched your search
@@ -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