Skip to content

Commit

Permalink
fix_: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ramos committed Oct 18, 2024
1 parent 3107c1e commit 8198ac1
Show file tree
Hide file tree
Showing 6 changed files with 1,019 additions and 685 deletions.
2 changes: 1 addition & 1 deletion wakuv2/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,4 +513,4 @@ func (api *PublicWakuAPI) NewMessageFilter(req Criteria) (string, error) {
api.mu.Unlock()
return id, nil
} */
} */
5 changes: 3 additions & 2 deletions wakuv2/history_processor_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package wakuv2
import (
"github.com/libp2p/go-libp2p/core/peer"

"github.com/status-im/status-go/wakuv2/common"
"github.com/waku-org/go-waku/waku/v2/api/history"
"github.com/waku-org/go-waku/waku/v2/protocol"
)
Expand All @@ -17,7 +16,9 @@ func NewHistoryProcessorWrapper(waku *Waku) history.HistoryProcessor {
}

func (hr *HistoryProcessorWrapper) OnEnvelope(env *protocol.Envelope, processEnvelopes bool) error {
return hr.waku.OnNewEnvelopes(env, common.StoreMessageType, processEnvelopes)
// TODO-nwaku
// return hr.waku.OnNewEnvelopes(env, common.StoreMessageType, processEnvelopes)
return nil
}

func (hr *HistoryProcessorWrapper) OnRequestFailed(requestID []byte, peerID peer.ID, err error) {
Expand Down
2 changes: 2 additions & 0 deletions wakuv2/message_publishing.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package wakuv2

/* TODO-nwaku
import (
"errors"
Expand Down Expand Up @@ -116,3 +117,4 @@ func (w *Waku) publishEnvelope(envelope *protocol.Envelope) {
})
}
}
*/
Loading

0 comments on commit 8198ac1

Please sign in to comment.