From b8c2e73595861627b04faf180137b2f884b31315 Mon Sep 17 00:00:00 2001 From: Dan Forbes Date: Mon, 31 Aug 2020 15:59:19 -0700 Subject: [PATCH] Genesis storage config should panic on error --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ce2ed8c..90d12c7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -132,7 +132,7 @@ decl_storage! { for asset in assets { match as UniqueAssets::, >::CommodityInfo>>>::mint(who, asset.clone()) { Ok(_) => {} - Err(err) => { sp_runtime::print(err) }, + Err(err) => { panic!(err) }, } } }