MaxRequests -> MaxFreeMandatoryHeadersPerBlock in pallet-bridge-grandpa (#1997)

* MaxRequests -> MaxFreeMandatoryHeadersPerBlock in pallet-bridge-grandpa

* fix comment

* fix comment

* fix comment
This commit is contained in:
Svyatoslav Nikolsky
2023-03-28 13:45:04 +03:00
committed by Bastian Köcher
parent 068f6f648b
commit fd3ebdf138
8 changed files with 152 additions and 81 deletions
+3 -3
View File
@@ -178,9 +178,9 @@ where
GI: 'static,
{
assert!(
R::MaxRequests::get() > 0,
"MaxRequests ({}) must be larger than zero",
R::MaxRequests::get(),
R::HeadersToKeep::get() > 0,
"HeadersToKeep ({}) must be larger than zero",
R::HeadersToKeep::get(),
);
}