1
0
Fork 0
forked from lthn/blockchain

removed sender address in wrap operations

This commit is contained in:
cryptozoidberg 2021-09-06 23:49:05 +03:00
parent 9202483ee1
commit d98fea3a62
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 2 additions and 2 deletions

View file

@ -367,7 +367,7 @@ namespace tools
attachments.push_back(comment);
}
if (req.push_payer | wrap)
if (req.push_payer )
{
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());
}

View file

@ -1404,7 +1404,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 || wrap)
if (tp.push_payer)
{
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());
}