fix_: rebase
This commit is contained in:
parent
3107c1eb0b
commit
8198ac1996
|
@ -1 +1 @@
|
||||||
Subproject commit c861fa9f7560068874570598c81b7a1425a9e931
|
Subproject commit c5a825e206c1cb3e6e0cf8c01410527804cb76c4
|
|
@ -3,7 +3,6 @@ package wakuv2
|
||||||
import (
|
import (
|
||||||
"github.com/libp2p/go-libp2p/core/peer"
|
"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/api/history"
|
||||||
"github.com/waku-org/go-waku/waku/v2/protocol"
|
"github.com/waku-org/go-waku/waku/v2/protocol"
|
||||||
)
|
)
|
||||||
|
@ -17,7 +16,9 @@ func NewHistoryProcessorWrapper(waku *Waku) history.HistoryProcessor {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (hr *HistoryProcessorWrapper) OnEnvelope(env *protocol.Envelope, processEnvelopes bool) error {
|
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) {
|
func (hr *HistoryProcessorWrapper) OnRequestFailed(requestID []byte, peerID peer.ID, err error) {
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package wakuv2
|
package wakuv2
|
||||||
|
|
||||||
|
/* TODO-nwaku
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
|
@ -116,3 +117,4 @@ func (w *Waku) publishEnvelope(envelope *protocol.Envelope) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
1517
wakuv2/nwaku.go
1517
wakuv2/nwaku.go
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue