From 7108ab8c1c77ad70525f9c8414a8b3249f07f4ca Mon Sep 17 00:00:00 2001 From: staheri14 Date: Fri, 9 Apr 2021 17:11:06 +0000 Subject: [PATCH] deploy: 6a4fcaa6719f3639efbb41cf33b860eea5ef942e --- .update.timestamp | 2 +- .../vendor/libbacktrace-upstream/libtool | 2 +- waku/v2/protocol/waku_store/waku_store.nim | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.update.timestamp b/.update.timestamp index aa3c6f476..ca63b987d 100644 --- a/.update.timestamp +++ b/.update.timestamp @@ -1 +1 @@ -1617962661 \ No newline at end of file +1617987051 \ No newline at end of file diff --git a/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool b/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool index c0367b0a0..ade5236e7 100755 --- a/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool +++ b/vendor/nim-libbacktrace/vendor/libbacktrace-upstream/libtool @@ -2,7 +2,7 @@ # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libbacktrace) version-unused -# Libtool was configured on host fv-az190-262: +# Libtool was configured on host fv-az196-139: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, diff --git a/waku/v2/protocol/waku_store/waku_store.nim b/waku/v2/protocol/waku_store/waku_store.nim index 3e2c60713..ad0bead4f 100644 --- a/waku/v2/protocol/waku_store/waku_store.nim +++ b/waku/v2/protocol/waku_store/waku_store.nim @@ -117,17 +117,17 @@ proc init*(T: type HistoryQuery, buffer: seq[byte]): ProtoResult[T] = var topics: seq[ContentTopic] - discard ? pb.getRepeatedField(1, topics) + discard ? pb.getRepeatedField(2, topics) msg.topics = topics var pagingInfoBuffer: seq[byte] - discard ? pb.getField(2, pagingInfoBuffer) + discard ? pb.getField(3, pagingInfoBuffer) msg.pagingInfo = ? PagingInfo.init(pagingInfoBuffer) - discard ? pb.getField(3, msg.startTime) - discard ? pb.getField(4, msg.endTime) + discard ? pb.getField(4, msg.startTime) + discard ? pb.getField(5, msg.endTime) ok(msg) @@ -170,12 +170,12 @@ proc encode*(query: HistoryQuery): ProtoBuffer = result = initProtoBuffer() for topic in query.topics: - result.write(1, topic) + result.write(2, topic) - result.write(2, query.pagingInfo.encode()) + result.write(3, query.pagingInfo.encode()) - result.write(3, query.startTime) - result.write(4, query.endTime) + result.write(4, query.startTime) + result.write(5, query.endTime) proc encode*(response: HistoryResponse): ProtoBuffer = result = initProtoBuffer()