mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +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:
+1
-1
@@ -529,7 +529,7 @@ impl TryFrom<RuntimeMetadataPrefixed> for Metadata {
|
||||
return Err(ConversionError::InvalidPrefix.into())
|
||||
}
|
||||
let meta = match metadata.1 {
|
||||
RuntimeMetadata::V12(meta) => meta,
|
||||
RuntimeMetadata::V13(meta) => meta,
|
||||
_ => return Err(ConversionError::InvalidVersion.into()),
|
||||
};
|
||||
let mut modules = HashMap::new();
|
||||
|
||||
Reference in New Issue
Block a user