fix: add missing pubsubtopic to store cursor
This commit is contained in:
parent
5552f4e4c2
commit
fb7c04610c
|
@ -194,6 +194,7 @@ func (w *gethWakuV2Wrapper) RequestStoreMessages(peerID []byte, r types.Messages
|
|||
Digest: r.StoreCursor.Digest,
|
||||
ReceiverTime: r.StoreCursor.ReceiverTime,
|
||||
SenderTime: r.StoreCursor.SenderTime,
|
||||
PubsubTopic: r.StoreCursor.PubsubTopic,
|
||||
}))
|
||||
}
|
||||
|
||||
|
@ -212,6 +213,7 @@ func (w *gethWakuV2Wrapper) RequestStoreMessages(peerID []byte, r types.Messages
|
|||
Digest: pbCursor.Digest,
|
||||
ReceiverTime: pbCursor.ReceiverTime,
|
||||
SenderTime: pbCursor.SenderTime,
|
||||
PubsubTopic: pbCursor.PubsubTopic,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ type StoreRequestCursor struct {
|
|||
Digest []byte `json:"digest"`
|
||||
ReceiverTime int64 `json:"receiverTime"`
|
||||
SenderTime int64 `json:"senderTime"`
|
||||
PubsubTopic string `json:"pubsubTopic"`
|
||||
}
|
||||
|
||||
// SetDefaults sets the From and To defaults
|
||||
|
|
Loading…
Reference in New Issue