forked from such-gitea/wownero
Fix pruned tx for ZMQ's GetBlocksFast
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user