Skip to content

Commit c1ec7d5

Browse files
committed
use ms timestamp
1 parent 6bd2308 commit c1ec7d5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/Indexer/processor.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,10 +244,11 @@ class BaseEventProcessor {
244244
`Decrypting DDO from network: ${this.networkId} created by: ${eventCreator} encrypted by: ${decryptorURL}`
245245
)
246246

247-
const { nonce: nonceDB } = await getDatabase()
248-
const nonceHandlerResponse = await getNonce(nonceDB, eventCreator)
249-
const nonce = await streamToString(nonceHandlerResponse.stream as Readable)
250-
const incrementedNonce = (Number(nonce) + 1).toString()
247+
// const { nonce: nonceDB } = await getDatabase()
248+
// const nonceHandlerResponse = await getNonce(nonceDB, eventCreator)
249+
// const nonce = await streamToString(nonceHandlerResponse.stream as Readable)
250+
// const incrementedNonce = (Number(nonce) + 1).toString()
251+
const incrementedNonce = Date.now()
251252

252253
const config = await getConfiguration()
253254
const { keys } = config

0 commit comments

Comments
 (0)