mirror of
https://github.com/monero-project/monero.git
synced 2025-07-30 09:18:44 -04:00
Merge pull request #5502
25a7cfd
add a few checks where it seems appropriate (moneromooo-monero)1a66a86
remove unused code (moneromooo-monero)
This commit is contained in:
commit
e3de4aa68b
13 changed files with 10 additions and 15 deletions
|
@ -447,7 +447,6 @@ rct::key straus(const std::vector<MultiexpData> &data, const std::shared_ptr<str
|
|||
{
|
||||
CHECK_AND_ASSERT_THROW_MES(cache == NULL || cache->size >= data.size(), "Cache is too small");
|
||||
MULTIEXP_PERF(PERF_TIMER_UNIT(straus, 1000000));
|
||||
bool HiGi = cache != NULL;
|
||||
STEP = STEP ? STEP : 192;
|
||||
|
||||
MULTIEXP_PERF(PERF_TIMER_START_UNIT(setup, 1000000));
|
||||
|
|
|
@ -190,7 +190,6 @@ namespace rct {
|
|||
int byte, i, j;
|
||||
for (j = 0; j < 8; j++) {
|
||||
byte = 0;
|
||||
i = 8 * j;
|
||||
for (i = 7; i > -1; i--) {
|
||||
byte = byte * 2 + amountb2[8 * j + i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue