feat: Use our own ALPN (#155)

This commit is contained in:
Floris Bruynooghe
2023-02-20 12:17:13 +01:00
committed by GitHub
parent d64d12db44
commit 2991cbb6bb
+1 -2
View File
@@ -19,8 +19,7 @@ use ssh_key::LineEnding;
use crate::util;
// TODO: change?
const P2P_ALPN: [u8; 6] = *b"libp2p";
const P2P_ALPN: [u8; 9] = *b"n0/iroh/1";
/// A keypair.
#[derive(Debug)]