*Use bufId not id

This commit is contained in:
Derrick Hammer 2022-12-16 09:47:36 -05:00
parent 3c7501cc3f
commit a3efcf130b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ export default class DHTCache extends EventEmitter {
let bufId = b4a.from(toId as Uint8Array) as Buffer;
if (!(signature && crypto.verify(bufData, signature, id))) {
if (!(signature && crypto.verify(bufData, signature, bufId))) {
return;
}