mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Merge pull request #6770
bdc6b10
Fix ZMQ pruned bulletproof transactions (vtnerd)
This commit is contained in:
commit
a51ccc036f
@ -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 New Issue
Block a user