Use MAX associated const (#9196)

* Use MAX associated const
This commit is contained in:
Squirrel authored and GitHub committed 2021-06-24 11:53:49 +01:00
1 parent 09d9c2c9f6
commit ea1f21a904
56 files changed
+178 -178

No files matched your search

@@ -1547,7 +1547,7 @@ fn doesnt_import_blocks_that_revert_finality() {
cache_size: 1024,
},
},
u64::max_value(),
u64::MAX,
).unwrap());
let mut client = TestClientBuilder::with_backend(backend).build();
@@ -1751,7 +1751,7 @@ fn returns_status_for_pruned_blocks() {
cache_size: 1024,
},
},
u64::max_value(),
u64::MAX,
).unwrap());
let mut client = TestClientBuilder::with_backend(backend).build();