diff --git a/CHANGELOG.md b/CHANGELOG.md index 713fbc0163..e02b224fc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -### Changed - -- Use `BigInt` constructor instead of happening `n` as it seems to have better browser support. - ## [0.19.1] - 2022-03-10 ### Added diff --git a/src/lib/enr/enr.ts b/src/lib/enr/enr.ts index c7ef864d2c..c352f07a2e 100644 --- a/src/lib/enr/enr.ts +++ b/src/lib/enr/enr.ts @@ -31,7 +31,7 @@ export class ENR extends Map { constructor( kvs: Record = {}, - seq: SequenceNumber = BigInt(1), + seq: SequenceNumber = 1n, signature: Uint8Array | null = null ) { super(Object.entries(kvs));