Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
acolytec3 committed Aug 22, 2023
1 parent 49bd58a commit 5c5402c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/portalnetwork/src/subprotocols/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ export abstract class BaseProtocol extends EventEmitter {
? this.routingTable.getWithPending(dstId)!.value
: this.routingTable.getValue(dstId)
} catch (err: any) {
console.log(err)
// TODO: Find source of "cannot read properties of undefined (reading 'getWithPending')" error
}
if (!enr) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Debugger } from 'debug'
import { ProtocolId } from '../../../types.js'
import { ProtocolId } from '../../../subprotocols/types.js'
import { Packet } from './index.js'
import { BasicPacketHeader, SelectiveAckHeader } from './PacketHeader.js'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ProtocolId } from '../../../types.js'
import { ProtocolId } from '../../../subprotocols/types.js'

export type UtpSocketKey = string

Expand Down

0 comments on commit 5c5402c

Please sign in to comment.