mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 07:01:02 +00:00
committed by
GitHub
parent
5d58f7a43a
commit
b660c226d8
@@ -1245,7 +1245,7 @@ impl<T: Trait> Module<T> {
|
||||
);
|
||||
|
||||
ensure!(
|
||||
schedule.max_head_data_size >= candidate.candidate().head_data.0.len() as _,
|
||||
schedule.max_head_data_size as usize >= candidate.candidate().head_data.0.len(),
|
||||
Error::<T>::HeadDataTooLarge,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user