interim checkin - working RCT Carrot TX
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user