Skip to content

Commit 5cf7f48

Browse files
authored
docs: fix FaultTolerance import in configuration documentation (#1550)
`FaultTolerance` is imported from `@libp2p/interface-transport` since v0.42.0.
1 parent ba8527c commit 5cf7f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/CONFIGURATION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ import { createLibp2p } from 'libp2p'
699699
import { tcp } from '@libp2p/tcp'
700700
import { mplex } from '@libp2p/mplex'
701701
import { noise } from '@chainsafe/libp2p-noise'
702-
import { FaultTolerance } from 'libp2p/transport-manager'
702+
import { FaultTolerance } from '@libp2p/interface-transport'
703703

704704
const node = await createLibp2p({
705705
transports: [tcp()],

0 commit comments

Comments
 (0)