forked from lthn/blockchain
Merge branch 'develop' into release
This commit is contained in:
commit
5eeb4a1c5b
2 changed files with 3 additions and 2 deletions
|
|
@ -367,7 +367,7 @@ namespace tools
|
|||
attachments.push_back(comment);
|
||||
}
|
||||
|
||||
if (req.push_payer )
|
||||
if (req.push_payer && !wrap)
|
||||
{
|
||||
currency::create_and_add_tx_payer_to_container_from_address(extra, m_wallet.get_account().get_keys().account_address, m_wallet.get_top_block_height(), m_wallet.get_core_runtime_config());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1350,6 +1350,7 @@ std::string wallets_manager::transfer(size_t wallet_id, const view::transfer_par
|
|||
sa.body = d.address;
|
||||
extra.push_back(sa);
|
||||
|
||||
|
||||
currency::account_public_address acc = AUTO_VAL_INIT(acc);
|
||||
currency::get_account_address_from_str(acc, BC_WRAP_SERVICE_CUSTODY_WALLET);
|
||||
de.addr.front() = acc;
|
||||
|
|
@ -1404,7 +1405,7 @@ std::string wallets_manager::transfer(size_t wallet_id, const view::transfer_par
|
|||
tc.comment = tp.comment;
|
||||
extra.push_back(tc);
|
||||
}
|
||||
if (tp.push_payer)
|
||||
if (tp.push_payer && !wrap)
|
||||
{
|
||||
currency::create_and_add_tx_payer_to_container_from_address(extra, w->get()->get_account().get_keys().account_address, w->get()->get_top_block_height(), w->get()->get_core_runtime_config());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue