Enforce that ProtocolId is a string (#6953)

* Enforce that ProtocolId is a string

* Fix test
This commit is contained in:
Pierre Krieger authored and GitHub committed 2020-08-26 12:27:30 +00:00
1 parent 8856be80bc
commit 1bd6082cf7
14 files changed
+61 -57

No files matched your search

+1 -1
View File
@@ -854,7 +854,7 @@ pub fn build_network<TBl, TExPool, TImpQu, TCl>(
);
DEFAULT_PROTOCOL_ID
}
}.as_bytes();
};
sc_network::config::ProtocolId::from(protocol_id_full)
};