*Missing typeof
This commit is contained in:
parent
a8121f0a39
commit
ea2dc58838
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue