Remove incorrect sanity check (#9924)

* causes issue

* remove the bad error check
This commit is contained in:
Shawn Tabrizi
2021-10-04 18:19:21 -04:00
committed by GitHub
parent cb77e783b7
commit 2272a0ed25
2 changed files with 0 additions and 2 deletions
@@ -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)
}
}