File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -204,12 +204,12 @@ pub trait CoinSelectionAlgorithm: core::fmt::Debug {
204
204
/// Perform the coin selection
205
205
///
206
206
/// - `required_utxos`: the utxos that must be spent regardless of `target_amount` with their
207
- /// weight cost
207
+ /// weight cost
208
208
/// - `optional_utxos`: the remaining available utxos to satisfy `target_amount` with their
209
- /// weight cost
209
+ /// weight cost
210
210
/// - `fee_rate`: fee rate to use
211
211
/// - `target_amount`: the outgoing amount and the fees already accumulated from adding
212
- /// outputs and transaction’s header.
212
+ /// outputs and transaction’s header.
213
213
/// - `drain_script`: the script to use in case of change
214
214
/// - `rand`: random number generated used by some coin selection algorithms such as [`SingleRandomDraw`]
215
215
fn coin_select < R : RngCore > (
Original file line number Diff line number Diff line change @@ -112,11 +112,11 @@ pub trait AsyncWalletPersister {
112
112
///
113
113
/// * Ensure the persister is initialized before data is persisted.
114
114
/// * Ensure there were no previously persisted wallet data before creating a fresh wallet and
115
- /// persisting it.
115
+ /// persisting it.
116
116
/// * Only clear the staged changes of [`Wallet`] after persisting succeeds.
117
117
/// * 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.
120
120
#[ derive( Debug ) ]
121
121
pub struct PersistedWallet < P > {
122
122
inner : Wallet ,
You can’t perform that action at this time.
0 commit comments