From fdae3213acaed2f5eba9e88e62c63acc049373dc Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Wed, 22 Mar 2023 22:50:55 +0200 Subject: [PATCH] Fix typos --- src/wallet/wallet.cpp | 2 +- src/wallet/wallet_tx_builder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 5d12666ca..6179c8736 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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. diff --git a/src/wallet/wallet_tx_builder.cpp b/src/wallet/wallet_tx_builder.cpp index 1f448e3a3..d573e3504 100644 --- a/src/wallet/wallet_tx_builder.cpp +++ b/src/wallet/wallet_tx_builder.cpp @@ -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))); }