core: remove some unused code

This commit is contained in:
moneromooo-monero 2016-10-08 18:53:56 +01:00
parent 1eaa3e8040
commit 3cb2436528
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -658,10 +658,7 @@ namespace cryptonote
}
else
{
bool all_rct_inputs = true;
size_t n_total_outs = sources[0].outputs.size(); // only for non-simple rct
BOOST_FOREACH(const tx_source_entry& src_entr, sources)
all_rct_inputs &= !(src_entr.mask == rct::identity());
// the non-simple version is slightly smaller, but assumes all real inputs
// are on the same index, so can only be used if there just one ring.