Fix pruned tx for ZMQ's GetBlocksFast

This commit is contained in:
Lee Clagett 2020-05-29 21:59:58 -04:00
parent c108c5e2f0
commit fe96e66ebe
5 changed files with 41 additions and 18 deletions

View file

@ -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();