Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
j-berman committed Mar 10, 2022
1 parent 9032a05 commit a1ad13b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ Useful for displaying an estimated fee – To obtain exact fees, see "Creating a
* `n_outputs: UInt32String`
* `extra_size: UInt32String`
* `bulletproof: BoolString`
* `clsag: BooLString`
* `clsag: BoolString`

* Returns: `retVal: UInt32String`

Expand Down
2 changes: 1 addition & 1 deletion src/monero_transfer_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void monero_transfer_utils::send_step1__prepare_params_for_get_decoys(
uint64_t attempt_at_min_fee;
if (passedIn_attemptAt_fee == none) {
attempt_at_min_fee = estimate_fee(true/*use_per_byte_fee*/, true/*use_rct*/, 1/*est num inputs*/, fake_outs_count, 2, extra.size(), bulletproof, clsag, base_fee, fee_multiplier, fee_quantization_mask);
// use a minimum viabale estimate_fee() with 1 input. It would be better to under-shoot this estimate, and then need to use a higher fee from calculate_fee() because the estimate is too low,
// use a minimum viable estimate_fee() with 1 input. It would be better to under-shoot this estimate, and then need to use a higher fee from calculate_fee() because the estimate is too low,
// versus the worse alternative of over-estimating here and getting stuck using too high of a fee that leads to fingerprinting
} else {
attempt_at_min_fee = *passedIn_attemptAt_fee;
Expand Down

0 comments on commit a1ad13b

Please sign in to comment.