Skip to content

Commit 790dc54

Browse files
author
Lorenzo Delgado
authored
fix(store): fix store validity timestamp variance constant (#1244)
1 parent eaa122d commit 790dc54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

waku/v2/protocol/waku_store/protocol.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const
4444

4545
DefaultTopic* = "/waku/2/default-waku/proto"
4646

47-
MaxMessageTimestampVariance* = Timestamp(20.seconds.nanoseconds) # 20 seconds maximum allowable sender timestamp "drift"
47+
MaxMessageTimestampVariance* = getNanoSecondTime(20) # 20 seconds maximum allowable sender timestamp "drift"
4848

4949

5050
# Error types (metric label values)

0 commit comments

Comments
 (0)