Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

fix: mock connection manager close reciprocal connection #268

Merged
merged 1 commit into from
Jul 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/interface-mocks/src/connection-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class MockConnectionManager extends EventEmitter<ConnectionManagerEvents> implem

this.connections = this.connections.filter(c => !c.remotePeer.equals(peerId))

await componentsB.getConnectionManager().closeConnections(peerId)
await componentsB.getConnectionManager().closeConnections(this.components.getPeerId())
}
}

Expand Down