Remove console.log

This commit is contained in:
Franck 2021-12-06 14:32:18 +11:00
parent 01c66f7e89
commit eb1b384be4
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 0 additions and 1 deletions

View File

@ -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');