Skip to content

Commit

Permalink
docs: fix typos and use better wording
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlinjin committed Jan 15, 2024
1 parent 9e1cecd commit 6ae0fdf
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 @@ -249,7 +249,7 @@ assert_eq!(selected_coins.len(), 1);
let drain = selector.drain(target, change_policy);

if drain.is_some() {
// add our change outupt to the transaction
// add our change output to the transaction
let change_value = drain.value;
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/coin_selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ impl DrainWeights {
+ self.spend_weight as f32 * long_term_feerate.spwu()
}

/// The the fee you will pay to spend this otuput in the future.
/// The fee you will pay to spend these change output(s) in the future.
pub fn spend_fee(&self, long_term_feerate: FeeRate) -> u64 {
(self.spend_weight as f32 * long_term_feerate.spwu()).ceil() as u64
}
Expand Down

0 comments on commit 6ae0fdf

Please sign in to comment.