*Need to shift off the first element from hexToBuf

This commit is contained in:
Derrick Hammer 2022-08-13 20:05:51 -04:00
parent cd33e1508b
commit f8229abf66
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ async function handleConnect(aq: ActiveQuery) {
try { try {
// @ts-ignore // @ts-ignore
socket = await dht.connect( socket = await dht.connect(
typeof pubkey === "string" ? hexToBuf(pubkey) : pubkey, typeof pubkey === "string" ? hexToBuf(pubkey).shift() : pubkey,
options options
); );
} catch (e: any) { } catch (e: any) {