mirror of
https://github.com/status-im/js-waku-examples.git
synced 2025-01-11 22:44:32 +00:00
move to default bootstrap
This commit is contained in:
parent
5bee034de8
commit
38a7407355
@ -54,11 +54,9 @@ async function initWakuContext({
|
||||
.add(new protobuf.Field("nick", 2, "string"))
|
||||
.add(new protobuf.Field("text", 3, "bytes"));
|
||||
|
||||
const node = await wakuCreate.createLightNode();
|
||||
const node = await wakuCreate.createLightNode({ defaultBootstrap: true });
|
||||
|
||||
await node.start();
|
||||
|
||||
await node.dial(multiAddr, protocols);
|
||||
await waitForRemotePeer(node, protocols);
|
||||
|
||||
// Set a filter by using Decoder for a given ContentTopic
|
||||
|
Loading…
x
Reference in New Issue
Block a user