From 9ce66b15a34406486417f3879159421083121415 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sat, 26 Nov 2022 17:53:39 -0500 Subject: [PATCH] *Add query hash to dht cache --- src/modules/rpc/cache.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/rpc/cache.ts b/src/modules/rpc/cache.ts index c22a094..6434f8e 100644 --- a/src/modules/rpc/cache.ts +++ b/src/modules/rpc/cache.ts @@ -113,6 +113,7 @@ export class RPCCache extends EventEmitter { item.signature = this.signResponse(item); + this.dhtCache?.addItem(queryHash); this._data[queryHash] = item; }