aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-08 18:53:56 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-08 19:35:40 +0100
commit3cb2436528d5d7ca9ff36fcd2fb542b553c84a63 (patch)
tree82eead002998c5beca0e6e628f3cb1855866449c /src
parenttests: add performance tests for rct signatures (diff)
downloadmonero-3cb2436528d5d7ca9ff36fcd2fb542b553c84a63.tar.xz
core: remove some unused code
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/cryptonote_format_utils.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cryptonote_core/cryptonote_format_utils.cpp b/src/cryptonote_core/cryptonote_format_utils.cpp
index 64f8eb924..870e8f0d8 100644
--- a/src/cryptonote_core/cryptonote_format_utils.cpp
+++ b/src/cryptonote_core/cryptonote_format_utils.cpp
@@ -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.