fix deprecated usage of panic (#8134)

This commit is contained in:
Guillaume Thiolliere authored and GitHub committed 2021-02-16 19:02:53 +01:00
1 parent ed9c08dd01
commit f49aae65a8
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@ where
) {
extrinsics.into_iter().for_each(|e| if let Err(e) = Self::apply_extrinsic(e) {
let err: &'static str = e.into();
panic!(err)
panic!("{}", err)
});
// post-extrinsics book-keeping