clean up previous commit

This commit is contained in:
akildemir
2025-06-29 15:38:14 +03:00
parent 5306d4b94a
commit 130975cebd
12 changed files with 133 additions and 227 deletions

View File

@@ -45,8 +45,8 @@ set(core_tests_sources
rct.cpp
bulletproofs.cpp
bulletproof_plus.cpp
rct2.cpp)
# wallet_tools.cpp)
rct2.cpp
wallet_tools.cpp)
set(core_tests_headers
block_reward.h
@@ -67,8 +67,8 @@ set(core_tests_headers
rct.h
bulletproofs.h
bulletproof_plus.h
rct2.h)
# wallet_tools.h)
rct2.h
wallet_tools.h)
monero_add_minimal_executable(core_tests
${core_tests_sources}

View File

@@ -13,7 +13,7 @@ using namespace cryptonote;
void wallet_accessor_test::set_account(tools::wallet2 * wallet, cryptonote::account_base& account)
{
wallet->clear();
wallet->m_account = reinterpret_cast<carrot::carrot_and_legacy_account&>(account);
// wallet->m_account = reinterpret_cast<carrot::carrot_and_legacy_account&>(account);
wallet->m_key_device_type = account.get_device().get_type();
wallet->m_account_public_address = account.get_keys().m_account_address;