*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 {
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue