Skip to content

Commit 6ae0fdf

Browse files
committed
docs: fix typos and use better wording
1 parent 9e1cecd commit 6ae0fdf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ assert_eq!(selected_coins.len(), 1);
249249
let drain = selector.drain(target, change_policy);
250250

251251
if drain.is_some() {
252-
// add our change outupt to the transaction
252+
// add our change output to the transaction
253253
let change_value = drain.value;
254254
}
255255
```

src/coin_selector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,7 @@ impl DrainWeights {
666666
+ self.spend_weight as f32 * long_term_feerate.spwu()
667667
}
668668

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

0 commit comments

Comments
 (0)