From 158aea723ca5f7fe3c8ab0f130c23a325388622a Mon Sep 17 00:00:00 2001 From: sowle Date: Mon, 27 Apr 2020 18:11:18 +0300 Subject: [PATCH] typo fixed --- src/wallet/wallet_public_structs_defs.h | 4 ++-- tests/core_tests/wallet_rpc_tests.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wallet/wallet_public_structs_defs.h b/src/wallet/wallet_public_structs_defs.h index 9c354700..574a1ba6 100644 --- a/src/wallet/wallet_public_structs_defs.h +++ b/src/wallet/wallet_public_structs_defs.h @@ -300,7 +300,7 @@ namespace wallet_public - struct trnsfer_destination + struct transfer_destination { uint64_t amount; std::string address; @@ -314,7 +314,7 @@ namespace wallet_public { struct request { - std::list destinations; + std::list destinations; uint64_t fee; uint64_t mixin; //uint64_t unlock_time; diff --git a/tests/core_tests/wallet_rpc_tests.cpp b/tests/core_tests/wallet_rpc_tests.cpp index 554c93bf..12bb2f8a 100644 --- a/tests/core_tests/wallet_rpc_tests.cpp +++ b/tests/core_tests/wallet_rpc_tests.cpp @@ -117,7 +117,7 @@ bool wallet_rpc_integrated_address_transfer::c1(currency::core& c, size_t ev_ind tools::wallet_public::COMMAND_RPC_TRANSFER::request req = AUTO_VAL_INIT(req); req.fee = TESTS_DEFAULT_FEE; req.mixin = 0; - tools::wallet_public::trnsfer_destination tds = AUTO_VAL_INIT(tds); + tools::wallet_public::transfer_destination tds = AUTO_VAL_INIT(tds); tds.address = alice_integrated_address; tds.amount = MK_TEST_COINS(3); req.destinations.push_back(tds); @@ -152,7 +152,7 @@ bool wallet_rpc_integrated_address_transfer::c1(currency::core& c, size_t ev_ind // 3. standard address + invalid external payment id => fail req.destinations.clear(); - tools::wallet_public::trnsfer_destination tds2 = AUTO_VAL_INIT(tds2); + tools::wallet_public::transfer_destination tds2 = AUTO_VAL_INIT(tds2); tds2.address = m_accounts[ALICE_ACC_IDX].get_public_address_str(); tds2.amount = MK_TEST_COINS(7); req.destinations.push_back(tds2);