rm nip 113

This commit is contained in:
Martti Malmi
2024-01-15 10:23:00 +02:00
parent fe46959424
commit aa430de168
3 changed files with 1 additions and 25 deletions

View File

@ -380,16 +380,7 @@ export class Query extends EventEmitter<QueryEvents> {
#sendQueryInternal(c: Connection, q: BuiltRawReqFilter) {
let filters = q.filters;
if (!c.SupportsNip(Nips.NotFilter)) {
filters = filters.map(f => {
if (f.not) {
const copy = { ...f };
delete copy.not;
return copy;
}
return f;
});
}
const qt = new QueryTrace(c.Address, filters, c.Id);
qt.on("close", x => c.CloseReq(x));
qt.on("change", () => this.#onProgress());