Upgrade bitvec and parity-scale-codec (#947)

This commit is contained in:
Bastian Köcher
2020-03-30 13:08:15 +02:00
committed by GitHub
parent de1c97fb85
commit b4c79556f3
20 changed files with 39 additions and 29 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ impl<T: Trait> Module<T> {
let attesting_indices = head.validator_indices
.iter()
.enumerate()
.filter(|(_, bit)| *bit)
.filter(|(_, bit)| **bit)
.inspect(|&(auth_index, _)| {
if let Some(stash_id) = validators.get(auth_index) {
valid.push(stash_id.clone());