mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 03:58:04 +00:00
feat: add super trait for block number (#2334)
And also related to a subxt PR https://github.com/paritytech/subxt/pull/1265
This commit is contained in:
@@ -212,7 +212,7 @@ impl<B: Block> VoterOracle<B> {
|
||||
// Accept any vote for a GRANDPA finalized block in a better round.
|
||||
Ok((
|
||||
rounds.session_start().max(self.best_beefy_block),
|
||||
(*self.best_grandpa_block_header.number()).into(),
|
||||
(*self.best_grandpa_block_header.number()),
|
||||
))
|
||||
} else {
|
||||
// Current session has mandatory not done.
|
||||
|
||||
Reference in New Issue
Block a user