From 7f8d14ecdeef1a44421524f69fec28d0f78d41eb Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 20 Oct 2020 16:50:36 +0000 Subject: [PATCH] blockchain: remove some dead code This is already done --- src/cryptonote_core/blockchain.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 963054b31..435c62db0 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3220,14 +3220,6 @@ bool Blockchain::expand_transaction_2(transaction &tx, const crypto::hash &tx_pr } } } - else if (rv.type == rct::RCTTypeCLSAG) - { - CHECK_AND_ASSERT_MES(rv.p.CLSAGs.size() == tx.vin.size(), false, "Bad CLSAGs size"); - for (size_t n = 0; n < tx.vin.size(); ++n) - { - rv.p.CLSAGs[n].I = rct::ki2rct(boost::get(tx.vin[n]).k_image); - } - } else { CHECK_AND_ASSERT_MES(false, false, "Unsupported rct tx type: " + boost::lexical_cast(rv.type));