Skip to content

Commit

Permalink
docs: fix FaultTolerance import in configuration documentation (#1550)
Browse files Browse the repository at this point in the history
`FaultTolerance` is imported from `@libp2p/interface-transport`
since v0.42.0.
  • Loading branch information
vmx committed Jan 16, 2023
1 parent ba8527c commit 5cf7f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/CONFIGURATION.md
Expand Up @@ -699,7 +699,7 @@ import { createLibp2p } from 'libp2p'
import { tcp } from '@libp2p/tcp'
import { mplex } from '@libp2p/mplex'
import { noise } from '@chainsafe/libp2p-noise'
import { FaultTolerance } from 'libp2p/transport-manager'
import { FaultTolerance } from '@libp2p/interface-transport'

const node = await createLibp2p({
transports: [tcp()],
Expand Down

0 comments on commit 5cf7f48

Please sign in to comment.