mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 05:35:03 +00:00
Use Lowercase (#11059)
This commit is contained in:
1 parent
3f5c135b5e
commit
8781574dc4
1 file changed
+1
-1
@@ -619,7 +619,7 @@ pub(crate) async fn ensure_matching_spec<Block: BlockT + serde::de::DeserializeO
|
||||
{
|
||||
Ok((name, version)) => {
|
||||
// first, deal with spec name
|
||||
if expected_spec_name == name {
|
||||
if expected_spec_name.to_lowercase() == name {
|
||||
log::info!(target: LOG_TARGET, "found matching spec name: {:?}", name);
|
||||
} else {
|
||||
let msg = format!(
|
||||
|
||||
Reference in new issue
Block a user