Fix typos
This commit is contained in:
parent
4892bf327d
commit
fdae3213ac
|
@ -7864,7 +7864,7 @@ bool SpendableInputs::LimitToAmount(
|
|||
// - If we have transparent recipients, we prefer to select funds across all
|
||||
// shielded pools before the transparent pool. The address and amount for
|
||||
// these recipients is necessarily revealed, but we can hide the sender.
|
||||
// - If we don't have suffient funds in shielded pools and are required to
|
||||
// - If we don't have sufficient funds in shielded pools and are required to
|
||||
// select transparent coins, we always select all transparent coins first.
|
||||
// Given that the transaction will necessarily reveal sender information,
|
||||
// we use it to opportunistically shield transparent coins.
|
||||
|
|
|
@ -320,7 +320,7 @@ InputSelectionResult WalletTxBuilder::ResolveInputsAndPayments(
|
|||
// creating dust change, rather than prohibit them from sending
|
||||
// entirely in this circumstance.
|
||||
// (Daira disagrees, as this could leak information to the recipient
|
||||
// or publically in the fee.)
|
||||
// or publicly in the fee.)
|
||||
? InvalidFundsReason(DustThresholdError(dustThreshold, changeAmount))
|
||||
: InvalidFundsReason(InsufficientFundsError(targetAmount)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue