aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-11-29 01:44:26 -0600
committerluigi1111 <luigi1111w@gmail.com>2020-11-29 01:44:26 -0600
commit4d298d4f116f739bc9a2d575358c76df0e9c1a4c (patch)
tree3343bba092c3f5e8a41e2d13e091feb3d75d709f
parentMerge pull request #6922 (diff)
parentblockchain: remove some dead code (diff)
downloadmonero-4d298d4f116f739bc9a2d575358c76df0e9c1a4c.tar.xz
Merge pull request #6924
874487f blockchain: remove some dead code (moneromooo-monero)
-rw-r--r--src/cryptonote_core/blockchain.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 9ad9afc94..ad27f1358 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -3140,14 +3140,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<txin_to_key>(tx.vin[n]).k_image);
- }
- }
else
{
CHECK_AND_ASSERT_MES(false, false, "Unsupported rct tx type: " + boost::lexical_cast<std::string>(rv.type));