1
0
Fork 0
forked from lthn/blockchain

fixed compilation issue with print_tx_prun_info

This commit is contained in:
cryptozoidberg 2022-06-27 19:22:43 +02:00
parent 4aa4f9beb3
commit edd7eaca95
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -663,16 +663,9 @@ private:
auto ptx = bcs.get_tx(h);
CHECK_AND_ASSERT_MES(ptx != nullptr, false, "failed to find transaction " << h << " in blockchain index, in block on height = " << height);
VARIANT_SWITCH_BEGIN(ptx->signature);
VARIANT_CASE(currency::NLSAG_sig, nlsag)
{
if (nlsag.s.size() == 0)
pruned_txs += 1;
signatures += nlsag.s.size();
}
VARIANT_CASE(currency::zarcanum_sig, zs);
// @#@
VARIANT_SWITCH_END();
if (ptx->signatures.size() == 0)
pruned_txs += 1;
signatures += ptx->signatures.size();
txs += 1;
attachments += ptx->attachment.size();