aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2020-05-29 21:59:58 -0400
committerLee Clagett <code@leeclagett.com>2020-08-14 19:46:33 +0000
commitfe96e66ebe9fe38595adff32c6718be0abbdd002 (patch)
treeed79771f2bae07b866ad963fda0c6f1c831101cd /src/rpc
parentMerge pull request #6354 (diff)
downloadmonero-fe96e66ebe9fe38595adff32c6718be0abbdd002.tar.xz
Fix pruned tx for ZMQ's GetBlocksFast
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/daemon_handler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/daemon_handler.cpp b/src/rpc/daemon_handler.cpp
index ab28319cb..fd33318b3 100644
--- a/src/rpc/daemon_handler.cpp
+++ b/src/rpc/daemon_handler.cpp
@@ -182,6 +182,7 @@ namespace rpc
for (const auto& blob : it->second)
{
bwt.transactions.emplace_back();
+ bwt.transactions.back().pruned = req.prune;
if (!parse_and_validate_tx_from_blob(blob.second, bwt.transactions.back()))
{
res.blocks.clear();