*Missing typeof

This commit is contained in:
Derrick Hammer 2022-08-28 02:12:19 -04:00
parent a8121f0a39
commit ea2dc58838
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ export default abstract class RpcQueryBase {
let relayKey: Buffer = relay as Buffer;
if (relay === "string") {
if (typeof relay === "string") {
relayKey = Buffer.from(relay, "hex");
}
if (relay instanceof Buffer) {