Upgrade codec to 2.0 and bitvec to 0.20 (companion) (#2343)

* upgrade codec and bitvec

* "Update Substrate"

Co-authored-by: parity-processbot <>
This commit is contained in:
Guillaume Thiolliere
2021-01-29 14:35:45 +01:00
committed by GitHub
parent 6efeb1ee13
commit 29f12f3f48
44 changed files with 297 additions and 272 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ fn select_availability_bitfields(
for (idx, _) in cores.iter().enumerate().filter(|v| !v.1.is_occupied()) {
// Bit is set for an unoccupied core - invalid
if *bitfield.payload().0.get(idx).unwrap_or(&false) {
if *bitfield.payload().0.get(idx).as_deref().unwrap_or(&false) {
continue 'a
}
}