use snafu in core

This commit is contained in:
Pavlo Khrystenko
2024-05-22 18:11:39 +02:00
parent e99d7faf00
commit 63e7fd467f
19 changed files with 268 additions and 121 deletions
+3 -1
View File
@@ -429,7 +429,9 @@ macro_rules! impl_tuples {
if is_type_empty(e.extra_ty(), types) {
continue
} else {
return Err(ExtrinsicParamsError::UnknownSignedExtension(e.identifier().to_owned()));
return Err(ExtrinsicParamsError::UnknownSignedExtension {
extension: e.identifier().to_owned()
});
}
};
params.push(ext);