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

@@ -508,7 +508,6 @@ impl_runtime_apis! {
add_benchmark!(params, batches, pallet_timestamp, Timestamp);
add_benchmark!(params, batches, pallet_template, TemplateModule);
if batches.is_empty() { return Err("Benchmark not found for this pallet.".into()) }
Ok(batches)
}
}