Make Substrate compile with latest nightly (#7381)

* Try to get it compiling

* One more

* Make stable happy

* Make stable even more happy ;)

* Update shell.nix
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-10-23 21:08:04 +02:00
1 parent 4366fe366a
commit 5808f467c5
29 files changed
+63 -57

No files matched your search

@@ -1429,7 +1429,7 @@ mod tests {
_: ChangesProof<B::Header>
) -> Result<Vec<(NumberFor<B>, u32)>, ClientError> {
match self.ok {
true => Ok(vec![(100.into(), 2)]),
true => Ok(vec![(100u32.into(), 2)]),
false => Err(ClientError::Backend("Test error".into())),
}
}