Skip to content

Commit 4cd337a

Browse files
committed
fix: remove unused code + burger menu + persist Libp2p main state (#35)
1 parent 999de90 commit 4cd337a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/frontend/src/lib/libp2p.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import * as filters from "@libp2p/websockets/filters"
2020
import { circuitRelayTransport } from 'libp2p/circuit-relay'
2121

2222

23-
export async function startLibp2p(options: {} = {}) {
23+
export async function startLibp2p() {
2424
// localStorage.debug = 'libp2p*,-*:trace'
2525
// application-specific data lives in the datastore
2626

@@ -78,8 +78,6 @@ export async function startLibp2p(options: {} = {}) {
7878
setWebRTCRelayAddress(multiaddrs, libp2p.peerId.toString())
7979
})
8080

81-
console.log(`this nodes peerID: ${libp2p.peerId.toString()}`)
82-
8381
return libp2p
8482
}
8583

0 commit comments

Comments
 (0)