diff --git a/packages/portalnetwork/src/subprotocols/protocol.ts b/packages/portalnetwork/src/subprotocols/protocol.ts index 7fd6060c2..57578dcf6 100644 --- a/packages/portalnetwork/src/subprotocols/protocol.ts +++ b/packages/portalnetwork/src/subprotocols/protocol.ts @@ -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) { diff --git a/packages/portalnetwork/src/wire/utp/Packets/PacketTyping.ts b/packages/portalnetwork/src/wire/utp/Packets/PacketTyping.ts index 0fc859c82..af214ef9a 100644 --- a/packages/portalnetwork/src/wire/utp/Packets/PacketTyping.ts +++ b/packages/portalnetwork/src/wire/utp/Packets/PacketTyping.ts @@ -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' diff --git a/packages/portalnetwork/src/wire/utp/PortalNetworkUtp/types.ts b/packages/portalnetwork/src/wire/utp/PortalNetworkUtp/types.ts index 419964691..963d67d00 100644 --- a/packages/portalnetwork/src/wire/utp/PortalNetworkUtp/types.ts +++ b/packages/portalnetwork/src/wire/utp/PortalNetworkUtp/types.ts @@ -1,4 +1,4 @@ -import { ProtocolId } from '../../../types.js' +import { ProtocolId } from '../../../subprotocols/types.js' export type UtpSocketKey = string