blockchain: remove some dead code

This is already done
This commit is contained in:
moneromooo-monero 2020-10-20 16:50:36 +00:00
parent 3cbb44a2fd
commit 874487fed8
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -3128,14 +3128,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));