Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Apr 29, 2024
1 parent 84c5186 commit 0fad9ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/devp2p/src/dns/enr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ type ENRTreeValues = {
}

// Copied over from the multiaddr repo: https://github.com/multiformats/js-multiaddr/blob/main/src/convert.ts
// TODO: Can we import this directly from the multiaddr repo? Doing so makes CI fail
function bytesToPort(bytes: Uint8Array): number {
const view = new DataView(bytes.buffer)
return view.getUint16(bytes.byteOffset)
Expand Down

0 comments on commit 0fad9ab

Please sign in to comment.