Skip to content

Commit 9f667ca

Browse files
committed
fix: clippy
1 parent 05d4932 commit 9f667ca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

wallet/src/wallet/coin_selection.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,12 @@ pub trait CoinSelectionAlgorithm: core::fmt::Debug {
204204
/// Perform the coin selection
205205
///
206206
/// - `required_utxos`: the utxos that must be spent regardless of `target_amount` with their
207-
/// weight cost
207+
/// weight cost
208208
/// - `optional_utxos`: the remaining available utxos to satisfy `target_amount` with their
209-
/// weight cost
209+
/// weight cost
210210
/// - `fee_rate`: fee rate to use
211211
/// - `target_amount`: the outgoing amount and the fees already accumulated from adding
212-
/// outputs and transaction’s header.
212+
/// outputs and transaction’s header.
213213
/// - `drain_script`: the script to use in case of change
214214
/// - `rand`: random number generated used by some coin selection algorithms such as [`SingleRandomDraw`]
215215
fn coin_select<R: RngCore>(

wallet/src/wallet/persisted.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ pub trait AsyncWalletPersister {
112112
///
113113
/// * Ensure the persister is initialized before data is persisted.
114114
/// * Ensure there were no previously persisted wallet data before creating a fresh wallet and
115-
/// persisting it.
115+
/// persisting it.
116116
/// * Only clear the staged changes of [`Wallet`] after persisting succeeds.
117117
/// * Ensure the wallet is persisted to the same `P` type as when created/loaded. Note that this is
118-
/// not completely fool-proof as you can have multiple instances of the same `P` type that are
119-
/// connected to different databases.
118+
/// not completely fool-proof as you can have multiple instances of the same `P` type that are
119+
/// connected to different databases.
120120
#[derive(Debug)]
121121
pub struct PersistedWallet<P> {
122122
inner: Wallet,

0 commit comments

Comments
 (0)