From 58ed079d613435037fdce62cdb3b81d6df34f863 Mon Sep 17 00:00:00 2001 From: ms Date: Sun, 14 Jan 2024 04:02:21 +0100 Subject: [PATCH] publishers non-empty --- validator/impl/liteserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/impl/liteserver.cpp b/validator/impl/liteserver.cpp index 0f8a83604..4968924b5 100644 --- a/validator/impl/liteserver.cpp +++ b/validator/impl/liteserver.cpp @@ -979,7 +979,7 @@ void LiteQuery::continue_getLibrariesWithProof(std::vector library_ } if (mode & 1) { // include first 16 publishers in the proof - auto publishers_dict = vm::Dictionary(libdescr.publishers, 256); + auto publishers_dict = vm::Dictionary{vm::DictNonEmpty(), std::move(libdescr.publishers), 256}; int publishers_max_count = 16; auto iter = publishers_dict.begin(); while (publishers_max_count-- && iter != publishers_dict.end()) {