From 790dc54548899107f993e58bb644d9dbe0c3cf60 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Thu, 6 Oct 2022 17:07:12 +0200 Subject: [PATCH] fix(store): fix store validity timestamp variance constant (#1244) --- waku/v2/protocol/waku_store/protocol.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waku/v2/protocol/waku_store/protocol.nim b/waku/v2/protocol/waku_store/protocol.nim index d20c4ac53..2aafdcdc5 100644 --- a/waku/v2/protocol/waku_store/protocol.nim +++ b/waku/v2/protocol/waku_store/protocol.nim @@ -44,7 +44,7 @@ const DefaultTopic* = "/waku/2/default-waku/proto" - MaxMessageTimestampVariance* = Timestamp(20.seconds.nanoseconds) # 20 seconds maximum allowable sender timestamp "drift" + MaxMessageTimestampVariance* = getNanoSecondTime(20) # 20 seconds maximum allowable sender timestamp "drift" # Error types (metric label values)