Skip to content

Commit

Permalink
Update coretime.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
  • Loading branch information
seadanda and kianenigma authored Oct 18, 2024
1 parent c05ed3e commit 38e8342
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl CoretimeInterface for CoretimeAllocator {
);

// Set the parts of the `Idle` assignment we injected at the start of the vec above.
assignment_truncated[0].1 = 57_600u16.saturating_sub(total_parts);
assignment_truncated[0].1 = PartsOf57600::FULL.saturating_sub(total_parts);

Check failure on line 245 in cumulus/parachains/runtimes/coretime/coretime-rococo/src/coretime.rs

View workflow job for this annotation

GitHub Actions / cargo-check-all-crate-macos

no associated item named `FULL` found for type `u16` in the current scope
assignment_truncated
} else {
assignment
Expand Down

0 comments on commit 38e8342

Please sign in to comment.