diff --git a/src/query/simple.ts b/src/query/simple.ts index 3a1101e..3d48af1 100644 --- a/src/query/simple.ts +++ b/src/query/simple.ts @@ -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; }