This commit is contained in:
parent
83c99ed8a7
commit
0dbac4253d
|
@ -40,7 +40,14 @@ export function WakuProvider({ peers, children }: Props) {
|
|||
libp2p: {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore icorrectly types from @libp2p/boostrap#package.json; patched only in @status-im/js for now
|
||||
peerDiscovery: [bootstrap({ list: peers, timeout: 0, tagTTL: Infinity })],
|
||||
peerDiscovery: [
|
||||
bootstrap({
|
||||
list: peers,
|
||||
timeout: 0,
|
||||
// note: Infinity prevents connection
|
||||
// tagTTL: Infinity,
|
||||
}),
|
||||
],
|
||||
},
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue