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:
Oliver Tale-Yazdi
2024-04-11 12:55:42 +02:00
committed by GitHub
parent 9ede4152ef
commit 832570545b
2 changed files with 6 additions and 3 deletions
@@ -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