Skip to content

Commit

Permalink
fix: listener
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Aug 6, 2024
1 parent 468c23c commit d6092f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-transport-libp2p/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airgap/beacon-transport-libp2p",
"version": "4.2.23",
"version": "4.2.25",
"description": "This package contains methods to facilitate communication over the Beacon network, a decentralised P2P network that is based on the matrix protocol.",
"author": "Andreas Gassmann <[email protected]>",
"homepage": "https://walletbeacon.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class WebSocketP2PTransport<
constructor(
name: string,
keyPair: KeyPair,
pkHash: string,
private pkHash: string,
storage: Storage,
storageKey: K,
urls: string[] = DEFAULT_NODES
Expand All @@ -34,6 +34,7 @@ export class WebSocketP2PTransport<

async connect() {
await this.client.connect()
await this.listen(this.pkHash)
return super.connect()
}

Expand Down

0 comments on commit d6092f8

Please sign in to comment.