forked from lthn/blockchain
typo fixed
This commit is contained in:
parent
da7d525801
commit
158aea723c
2 changed files with 4 additions and 4 deletions
|
|
@ -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<trnsfer_destination> destinations;
|
||||
std::list<transfer_destination> destinations;
|
||||
uint64_t fee;
|
||||
uint64_t mixin;
|
||||
//uint64_t unlock_time;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue