*Use bufId not id
This commit is contained in:
parent
3c7501cc3f
commit
a3efcf130b
|
@ -320,7 +320,7 @@ export default class DHTCache extends EventEmitter {
|
||||||
|
|
||||||
let bufId = b4a.from(toId as Uint8Array) as Buffer;
|
let bufId = b4a.from(toId as Uint8Array) as Buffer;
|
||||||
|
|
||||||
if (!(signature && crypto.verify(bufData, signature, id))) {
|
if (!(signature && crypto.verify(bufData, signature, bufId))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue