diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:44:26 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-11-29 01:44:26 -0600 |
commit | 4d298d4f116f739bc9a2d575358c76df0e9c1a4c (patch) | |
tree | 3343bba092c3f5e8a41e2d13e091feb3d75d709f /src/cryptonote_core/blockchain.cpp | |
parent | Merge pull request #6922 (diff) | |
parent | blockchain: remove some dead code (diff) | |
download | monero-4d298d4f116f739bc9a2d575358c76df0e9c1a4c.tar.xz |
Merge pull request #6924
874487f blockchain: remove some dead code (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.cpp')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 8 |
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)); |