mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 20:19:34 +00:00
Fix ZMQ pruned bulletproof transactions
This commit is contained in:
parent
765db1ae7a
commit
bdc6b10d62
1 changed files with 5 additions and 1 deletions
|
@ -183,7 +183,11 @@ namespace rpc
|
||||||
{
|
{
|
||||||
bwt.transactions.emplace_back();
|
bwt.transactions.emplace_back();
|
||||||
bwt.transactions.back().pruned = req.prune;
|
bwt.transactions.back().pruned = req.prune;
|
||||||
if (!parse_and_validate_tx_from_blob(blob.second, bwt.transactions.back()))
|
|
||||||
|
const bool parsed = req.prune ?
|
||||||
|
parse_and_validate_tx_base_from_blob(blob.second, bwt.transactions.back()) :
|
||||||
|
parse_and_validate_tx_from_blob(blob.second, bwt.transactions.back());
|
||||||
|
if (!parsed)
|
||||||
{
|
{
|
||||||
res.blocks.clear();
|
res.blocks.clear();
|
||||||
res.output_indices.clear();
|
res.output_indices.clear();
|
||||||
|
|
Loading…
Reference in a new issue