mirror of
https://github.com/status-im/status-go.git
synced 2025-02-22 03:38:27 +00:00
fix: query timestamp conversion
This commit is contained in:
parent
0b1c06403b
commit
02d70899df
@ -869,8 +869,8 @@ func (w *Waku) Query(topics []common.TopicType, from uint64, to uint64, opts []s
|
||||
}
|
||||
|
||||
query := store.Query{
|
||||
StartTime: int64(from),
|
||||
EndTime: int64(to),
|
||||
StartTime: int64(from) * int64(time.Second),
|
||||
EndTime: int64(to) * int64(time.Second),
|
||||
ContentTopics: strTopics,
|
||||
Topic: relay.DefaultWakuTopic,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user