Skip to content

Commit

Permalink
fix: remove unused code + burger menu + persist Libp2p main state (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
maschad committed Apr 14, 2023
1 parent 999de90 commit 4cd337a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/frontend/src/lib/libp2p.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as filters from "@libp2p/websockets/filters"
import { circuitRelayTransport } from 'libp2p/circuit-relay'


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

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

console.log(`this nodes peerID: ${libp2p.peerId.toString()}`)

return libp2p
}

Expand Down

0 comments on commit 4cd337a

Please sign in to comment.