remove empty statements
Cleaning up a little around the code base.
This commit is contained in:
@@ -1986,7 +1986,7 @@ bool BlockchainLMDB::prune_worker(int mode, uint32_t pruning_seed)
|
||||
const uint32_t log_stripes = tools::get_pruning_log_stripes(pruning_seed);
|
||||
if (log_stripes && log_stripes != CRYPTONOTE_PRUNING_LOG_STRIPES)
|
||||
throw0(DB_ERROR("Pruning seed not in range"));
|
||||
pruning_seed = tools::get_pruning_stripe(pruning_seed);;
|
||||
pruning_seed = tools::get_pruning_stripe(pruning_seed);
|
||||
if (pruning_seed > (1ul << CRYPTONOTE_PRUNING_LOG_STRIPES))
|
||||
throw0(DB_ERROR("Pruning seed not in range"));
|
||||
check_open();
|
||||
@@ -3271,7 +3271,7 @@ output_data_t BlockchainLMDB::get_output_key(const uint64_t& amount, const uint6
|
||||
else
|
||||
{
|
||||
const pre_rct_outkey *okp = (const pre_rct_outkey *)v.mv_data;
|
||||
memcpy(&ret, &okp->data, sizeof(pre_rct_output_data_t));;
|
||||
memcpy(&ret, &okp->data, sizeof(pre_rct_output_data_t));
|
||||
if (include_commitmemt)
|
||||
ret.commitment = rct::zeroCommit(amount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user