Merge pull request #4685
76681b9b
wallet2/create_transactions_2: fixed typo in try_tx=true's estimate_fee args (Paul Shapiro)
This commit is contained in:
commit
9cf0e67978
@ -8646,7 +8646,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