Fix typos

This commit is contained in:
Dimitris Apostolou 2023-03-22 22:50:55 +02:00 committed by Kris Nuttycombe
parent 4892bf327d
commit fdae3213ac
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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)));
}