mirror of https://github.com/waku-org/js-waku.git
Remove console.log
This commit is contained in:
parent
01c66f7e89
commit
eb1b384be4
|
@ -80,7 +80,6 @@ export class ENR extends Map<ENRKey, ENRValue> {
|
||||||
obj[kvs[i].toString()] = Buffer.from(kvs[i + 1]);
|
obj[kvs[i].toString()] = Buffer.from(kvs[i + 1]);
|
||||||
}
|
}
|
||||||
const enr = new ENR(obj, toBigIntBE(seq), signature);
|
const enr = new ENR(obj, toBigIntBE(seq), signature);
|
||||||
console.log('signature', signature.length, signature);
|
|
||||||
|
|
||||||
if (!enr.verify(RLP.encode([seq, ...kvs]), signature)) {
|
if (!enr.verify(RLP.encode([seq, ...kvs]), signature)) {
|
||||||
throw new Error('Unable to verify ENR signature');
|
throw new Error('Unable to verify ENR signature');
|
||||||
|
|
Loading…
Reference in New Issue