mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
core: remove some unused code
This commit is contained in:
parent
1eaa3e8040
commit
3cb2436528
@ -658,10 +658,7 @@ namespace cryptonote
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bool all_rct_inputs = true;
|
|
||||||
size_t n_total_outs = sources[0].outputs.size(); // only for non-simple rct
|
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
|
// 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.
|
// are on the same index, so can only be used if there just one ring.
|
||||||
|
Loading…
Reference in New Issue
Block a user