mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
remove some unused code
Found by codacy.com
This commit is contained in:
parent
611639710d
commit
d4f50cb109
14 changed files with 8 additions and 114 deletions
|
@ -75,7 +75,6 @@ namespace
|
|||
*/
|
||||
void test_language(const Language::Base &language)
|
||||
{
|
||||
const std::vector<std::string> &word_list = language.get_word_list();
|
||||
epee::wipeable_string w_seed = "", w_return_seed = "";
|
||||
std::string seed, return_seed;
|
||||
// Generate a random seed without checksum
|
||||
|
|
|
@ -112,7 +112,7 @@ static void make_wallets(std::vector<tools::wallet2>& wallets, unsigned int M)
|
|||
}
|
||||
|
||||
for (auto& wallet: wallets) {
|
||||
ASSERT_FALSE(wallet.multisig() || wallet.multisig() || wallet.multisig());
|
||||
ASSERT_FALSE(wallet.multisig());
|
||||
}
|
||||
|
||||
std::vector<std::string> mxis;
|
||||
|
|
|
@ -968,8 +968,6 @@ static rctSig make_sig()
|
|||
#define TEST_rctSig_elements(name, op) \
|
||||
TEST(ringct, rctSig_##name) \
|
||||
{ \
|
||||
const uint64_t inputs[] = {1000, 1000}; \
|
||||
const uint64_t outputs[] = {1000, 1000}; \
|
||||
rct::rctSig sig = make_sig(); \
|
||||
ASSERT_TRUE(rct::verRct(sig)); \
|
||||
op; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue