*If we are passed a buffer, convert it to hex

This commit is contained in:
Derrick Hammer 2023-03-18 12:21:14 -04:00
parent 1d66b2452f
commit 9bb3f2ab60
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ export default class SimpleRpcQuery extends RpcQueryBase {
options: RpcQueryOptions;
}) {
super({ network, query, options });
if (b4a.isBuffer(relay)) {
relay = b4a.from(relay).toString("hex");
}
this._relay = relay;
}