Skip to content

Commit

Permalink
Genesis storage config should panic on error
Browse files Browse the repository at this point in the history
  • Loading branch information
danforbes committed Aug 31, 2020
1 parent 4ae31a7 commit b8c2e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ decl_storage! {
for asset in assets {
match <Module::<T, I> as UniqueAssets::<Commodity<CommodityId<T>, <T as Trait<I>>::CommodityInfo>>>::mint(who, asset.clone()) {
Ok(_) => {}
Err(err) => { sp_runtime::print(err) },
Err(err) => { panic!(err) },
}
}
}
Expand Down

0 comments on commit b8c2e73

Please sign in to comment.