Use gossipsub

This commit is contained in:
Oskar Thoren 2020-06-15 10:59:09 +08:00
parent a8a1e39052
commit 26321ca0c9
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@ method initPubSub*(w: WakuSub) =
w.text = "Foobar"
debug "w.text", text = w.text
# Using FloodSub
w.gossip_enabled = false
# Using GossipSub
w.gossip_enabled = true
if w.gossip_enabled:
procCall GossipSub(w).initPubSub()