interim checkin - working RCT Carrot TX

This commit is contained in:
Some Random Crypto Guy
2025-06-27 16:05:08 +01:00
parent 14a6c6b8ef
commit 5306d4b94a
18 changed files with 279 additions and 131 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 = 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;