Merge pull request #6924

874487f blockchain: remove some dead code (moneromooo-monero)
This commit is contained in:
luigi1111 2020-11-29 01:44:26 -06:00
commit 4d298d4f11
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 0 additions and 8 deletions

View File

@ -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));