mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-19 11:22:38 +00:00
b9d5d28af5
* chore: remove references to v2 * fix: lingering rln-relay import path
14 lines
287 B
Nim
14 lines
287 B
Nim
when (NimMajor, NimMinor) < (1, 4):
|
|
{.push raises: [Defect].}
|
|
else:
|
|
{.push raises: [].}
|
|
|
|
|
|
import
|
|
../../../waku_core,
|
|
../../common
|
|
|
|
type DbCursor* = (Timestamp, seq[byte], PubsubTopic)
|
|
|
|
proc toDbCursor*(c: ArchiveCursor): DbCursor = (c.storeTime, @(c.digest.data), c.pubsubTopic)
|