mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 05:11:09 +00:00
Fix link check (#4074)
Closes #4041 Changes: - Increase cache size and reduce retries. - Ignore Substrate SE links :( - Fix broken link. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
9ede4152ef
commit
832570545b
@@ -97,7 +97,7 @@ impl PeerId {
|
||||
/// Convert `PeerId` into ed25519 public key bytes.
|
||||
pub fn into_ed25519(&self) -> Option<[u8; 32]> {
|
||||
let hash = &self.multihash;
|
||||
// https://www.ietf.org/id/draft-multiformats-multihash-07.html#name-the-multihash-identifier-re
|
||||
// https://www.ietf.org/archive/id/draft-multiformats-multihash-07.html#name-the-multihash-identifier-re
|
||||
if hash.code() != 0 {
|
||||
// Hash is not identity
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user