mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
Change validation & collation protocol names to include genesis hash & fork id (#5876)
This commit is contained in:
@@ -996,7 +996,7 @@ fn is_statement_large(statement: &SignedFullStatement) -> (bool, Option<usize>)
|
||||
|
||||
// Half max size seems to be a good threshold to start not using notifications:
|
||||
let threshold =
|
||||
PeerSet::Validation.get_info(IsAuthority::Yes).max_notification_size as usize / 2;
|
||||
PeerSet::Validation.get_max_notification_size(IsAuthority::Yes) as usize / 2;
|
||||
|
||||
(size >= threshold, Some(size))
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user