mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:18:52 +00:00
wallet2/create_transactions_2: fixed typo in try_tx=true's estimate_fee args
This commit is contained in:
parent
2287fb9fb4
commit
76681b9bda
@ -8601,7 +8601,7 @@ std::vector<wallet2::pending_tx> wallet2::create_transactions_2(std::vector<cryp
|
|||||||
cryptonote::transaction test_tx;
|
cryptonote::transaction test_tx;
|
||||||
pending_tx test_ptx;
|
pending_tx test_ptx;
|
||||||
|
|
||||||
needed_fee = estimate_fee(use_per_byte_fee, use_rct ,tx.selected_transfers.size(), fake_outs_count, tx.dsts.size()+1, extra.size(), bulletproof, base_fee, fee_multiplier, fee_multiplier);
|
needed_fee = estimate_fee(use_per_byte_fee, use_rct ,tx.selected_transfers.size(), fake_outs_count, tx.dsts.size()+1, extra.size(), bulletproof, base_fee, fee_multiplier, fee_quantization_mask);
|
||||||
|
|
||||||
uint64_t inputs = 0, outputs = needed_fee;
|
uint64_t inputs = 0, outputs = needed_fee;
|
||||||
for (size_t idx: tx.selected_transfers) inputs += m_transfers[idx].amount();
|
for (size_t idx: tx.selected_transfers) inputs += m_transfers[idx].amount();
|
||||||
|
Loading…
Reference in New Issue
Block a user