*Skip if relay has an error

This commit is contained in:
Derrick Hammer 2023-01-06 01:18:50 -05:00
parent be2531ec99
commit 5366f85c35
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ export default class WisdomRpcQuery extends RpcQueryBase {
for (const relay in this._response?.relays) {
const resp = this._response?.relays[relay];
if (resp?.error) {
continue;
}
if (
validateTimestampedResponse(
b4a.from(relay, "hex") as Buffer,