From 51eac2a5d7dc84a8eda6a0633cfa4f0dd322f7b2 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Sun, 12 Jun 2022 12:36:45 +0530 Subject: [PATCH] llmq: remove unused variable "hash" from Unserialize --- src/llmq/snapshot.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/llmq/snapshot.h b/src/llmq/snapshot.h index 3c9cd5cff0..689ed2d1b4 100644 --- a/src/llmq/snapshot.h +++ b/src/llmq/snapshot.h @@ -178,7 +178,6 @@ public: size_t cnt = ReadCompactSize(s); for ([[maybe_unused]] const auto _ : irange::range(cnt)) { - uint256 hash; CFinalCommitment qc; ::Unserialize(s, qc); lastCommitmentPerIndex.push_back(std::move(qc));