Remove incorrect sanity check (#9924)

* causes issue

* remove the bad error check
This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2021-10-04 22:19:21 +00:00
1 parent cb77e783b7
commit 2272a0ed25
2 files changed
-2

No files matched your search

-1
View File
@@ -1728,7 +1728,6 @@ impl_runtime_apis! {
add_benchmark!(params, batches, pallet_utility, Utility);
add_benchmark!(params, batches, pallet_vesting, Vesting);
if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
Ok(batches)
}
}