mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 01:51:09 +00:00
Updated to later version of substrate so that it compiles. (#295)
* Updated to later version of substrate so that it compiles. (Referencing substrate this way you only have to search and replace one string to upgrade) * cargo fmt
This commit is contained in:
+5
-1
@@ -139,7 +139,11 @@ impl RuntimeError {
|
||||
DispatchError::CannotLookup => Ok(Self::CannotLookup),
|
||||
DispatchError::ConsumerRemaining => Ok(Self::ConsumerRemaining),
|
||||
DispatchError::NoProviders => Ok(Self::NoProviders),
|
||||
DispatchError::Other(msg) => Ok(Self::Other(msg.into())),
|
||||
DispatchError::Arithmetic(_math_error) => {
|
||||
Ok(Self::Other("math_error".into()))
|
||||
}
|
||||
DispatchError::Token(_token_error) => Ok(Self::Other("token error".into())),
|
||||
DispatchError::Other(msg) => Ok(Self::Other(msg.to_string())),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user