*Need to shift off the first element from hexToBuf
This commit is contained in:
parent
cd33e1508b
commit
f8229abf66
|
@ -91,7 +91,7 @@ async function handleConnect(aq: ActiveQuery) {
|
|||
try {
|
||||
// @ts-ignore
|
||||
socket = await dht.connect(
|
||||
typeof pubkey === "string" ? hexToBuf(pubkey) : pubkey,
|
||||
typeof pubkey === "string" ? hexToBuf(pubkey).shift() : pubkey,
|
||||
options
|
||||
);
|
||||
} catch (e: any) {
|
||||
|
|
Loading…
Reference in New Issue