File tree 1 file changed +4
-4
lines changed
content/guides/getting-started 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ import { noise } from '@chainsafe/libp2p-noise'
100
100
101
101
const node = await createLibp2p ({
102
102
transports: [tcp ()],
103
- connectionEncryption : [noise ()]
103
+ connectionEncrypters : [noise ()]
104
104
})
105
105
106
106
```
@@ -123,7 +123,7 @@ import { yamux } from '@chainsafe/libp2p-yamux'
123
123
124
124
const node = await createLibp2p ({
125
125
transports: [tcp ()],
126
- connectionEncryption : [noise ()],
126
+ connectionEncrypters : [noise ()],
127
127
streamMuxers: [yamux ()]
128
128
})
129
129
@@ -146,7 +146,7 @@ const main = async () => {
146
146
listen: [' /ip4/127.0.0.1/tcp/0' ]
147
147
},
148
148
transports: [tcp ()],
149
- connectionEncryption : [noise ()],
149
+ connectionEncrypters : [noise ()],
150
150
streamMuxers: [yamux ()]
151
151
})
152
152
@@ -205,7 +205,7 @@ const node = await createLibp2p({
205
205
listen: [' /ip4/127.0.0.1/tcp/0' ]
206
206
},
207
207
transports: [tcp ()],
208
- connectionEncryption : [noise ()],
208
+ connectionEncrypters : [noise ()],
209
209
streamMuxers: [yamux ()],
210
210
services: {
211
211
ping: ping ({
You can’t perform that action at this time.
0 commit comments