From dc9c98ce17383293d1defe488409347eb51ecd20 Mon Sep 17 00:00:00 2001 From: alexgparity <115470171+alexgparity@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:05:04 +0100 Subject: [PATCH] Update node/client/src/benchmarking.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bastian Köcher --- node/client/src/benchmarking.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/client/src/benchmarking.rs b/node/client/src/benchmarking.rs index d2acc247cf2f..f71b78ed5e15 100644 --- a/node/client/src/benchmarking.rs +++ b/node/client/src/benchmarking.rs @@ -369,8 +369,7 @@ pub fn benchmark_inherent_data( }; inherent_data - .put_data(polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER, ¶_data) - .expect("put data failed"); + .put_data(polkadot_primitives::v2::PARACHAINS_INHERENT_IDENTIFIER, ¶_data)?; Ok(inherent_data) }