mirror of
https://github.com/monero-project/monero.git
synced 2026-01-16 23:01:54 -08:00
Merge pull request #5329
023f2c77 wallet_rpc_server: remove mixin from transfer RPCs (moneromooo-monero)
This commit is contained in:
@@ -901,15 +901,7 @@ namespace tools
|
||||
|
||||
try
|
||||
{
|
||||
uint64_t mixin;
|
||||
if(req.ring_size != 0)
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.ring_size - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.mixin);
|
||||
}
|
||||
uint64_t mixin = m_wallet->adjust_mixin(req.ring_size ? req.ring_size - 1 : 0);
|
||||
uint32_t priority = m_wallet->adjust_priority(req.priority);
|
||||
std::vector<wallet2::pending_tx> ptx_vector = m_wallet->create_transactions_2(dsts, mixin, req.unlock_time, priority, extra, req.account_index, req.subaddr_indices);
|
||||
|
||||
@@ -961,15 +953,7 @@ namespace tools
|
||||
|
||||
try
|
||||
{
|
||||
uint64_t mixin;
|
||||
if(req.ring_size != 0)
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.ring_size - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.mixin);
|
||||
}
|
||||
uint64_t mixin = m_wallet->adjust_mixin(req.ring_size ? req.ring_size - 1 : 0);
|
||||
uint32_t priority = m_wallet->adjust_priority(req.priority);
|
||||
LOG_PRINT_L2("on_transfer_split calling create_transactions_2");
|
||||
std::vector<wallet2::pending_tx> ptx_vector = m_wallet->create_transactions_2(dsts, mixin, req.unlock_time, priority, extra, req.account_index, req.subaddr_indices);
|
||||
@@ -1379,15 +1363,7 @@ namespace tools
|
||||
|
||||
try
|
||||
{
|
||||
uint64_t mixin;
|
||||
if(req.ring_size != 0)
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.ring_size - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.mixin);
|
||||
}
|
||||
uint64_t mixin = m_wallet->adjust_mixin(req.ring_size ? req.ring_size - 1 : 0);
|
||||
uint32_t priority = m_wallet->adjust_priority(req.priority);
|
||||
std::vector<wallet2::pending_tx> ptx_vector = m_wallet->create_transactions_all(req.below_amount, dsts[0].addr, dsts[0].is_subaddress, req.outputs, mixin, req.unlock_time, priority, extra, req.account_index, req.subaddr_indices);
|
||||
|
||||
@@ -1442,15 +1418,7 @@ namespace tools
|
||||
|
||||
try
|
||||
{
|
||||
uint64_t mixin;
|
||||
if(req.ring_size != 0)
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.ring_size - 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
mixin = m_wallet->adjust_mixin(req.mixin);
|
||||
}
|
||||
uint64_t mixin = m_wallet->adjust_mixin(req.ring_size ? req.ring_size - 1 : 0);
|
||||
uint32_t priority = m_wallet->adjust_priority(req.priority);
|
||||
std::vector<wallet2::pending_tx> ptx_vector = m_wallet->create_transactions_single(ki, dsts[0].addr, dsts[0].is_subaddress, req.outputs, mixin, req.unlock_time, priority, extra);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user