From ffe2f80a9071a645b673455abc2028a3b3b8fb0a Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 7 Apr 2021 17:19:39 -0400 Subject: [PATCH] fix: update go-waku version --- examples/chat2/chat.go | 6 +++--- examples/chat2/go.mod | 2 +- examples/chat2/go.sum | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/chat2/chat.go b/examples/chat2/chat.go index 4c8aae97..25526f18 100644 --- a/examples/chat2/chat.go +++ b/examples/chat2/chat.go @@ -79,9 +79,9 @@ func (cr *Chat) Publish(message string) error { wakuMsg := &protocol.WakuMessage{ Payload: payload, - Version: &version, - ContentTopic: &DefaultContentTopic, - Timestamp: ×tamp, + Version: version, + ContentTopic: DefaultContentTopic, + Timestamp: timestamp, } return cr.node.Publish(wakuMsg, nil) diff --git a/examples/chat2/go.mod b/examples/chat2/go.mod index 57008124..91774927 100644 --- a/examples/chat2/go.mod +++ b/examples/chat2/go.mod @@ -10,6 +10,6 @@ require ( github.com/ipfs/go-log/v2 v2.1.1 github.com/libp2p/go-libp2p-core v0.8.5 github.com/rivo/tview v0.0.0-20210312174852-ae9464cc3598 - github.com/status-im/go-waku v0.0.0-20210406231752-e8f7a4d38c82 + github.com/status-im/go-waku v0.0.0-20210407211629-9c224c1849b7 google.golang.org/protobuf v1.25.0 ) diff --git a/examples/chat2/go.sum b/examples/chat2/go.sum index 11d4a390..df7b35ed 100644 --- a/examples/chat2/go.sum +++ b/examples/chat2/go.sum @@ -768,6 +768,8 @@ github.com/status-im/go-waku v0.0.0-20210406231317-be168ebe3f2a h1:LYnUhbSs+F75r github.com/status-im/go-waku v0.0.0-20210406231317-be168ebe3f2a/go.mod h1:949jqEGfl0gWv8NMWJU5xhW0hSRJicDxYWQAZkJMsqQ= github.com/status-im/go-waku v0.0.0-20210406231752-e8f7a4d38c82 h1:80JU8pHRKQt0yBZDca5BXzwK0zsYmjjlLIwiJFfZm/s= github.com/status-im/go-waku v0.0.0-20210406231752-e8f7a4d38c82/go.mod h1:949jqEGfl0gWv8NMWJU5xhW0hSRJicDxYWQAZkJMsqQ= +github.com/status-im/go-waku v0.0.0-20210407211629-9c224c1849b7 h1:I7SKeIuqUum7yLrGfD6A1dcKgLRWbG+lQjNdCbkePcs= +github.com/status-im/go-waku v0.0.0-20210407211629-9c224c1849b7/go.mod h1:2fHIqaNF8M8W/DQL5J3R9dXbrTLpOefvD5tbKSvoxBg= github.com/status-im/go-wakurelay-pubsub v0.4.2 h1:F4UGcP80H0PGaeJ0mRMzA1Ux3DKYiyv/qu3bOR/efTg= github.com/status-im/go-wakurelay-pubsub v0.4.2/go.mod h1:LSCVYR7mnBBsxVJghrGpQ3yJAAATEe6XeQQqGCZhwrE= github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=