aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/spend.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2023-11-07 10:21:51 +0900
committerSjors Provoost <sjors@sprovoost.nl>2023-11-07 10:21:51 +0900
commit43de4d3630274e1287179c86896ed4c2d8b9eff4 (patch)
treef567f1894ed9761088904e4913455f2a4967b00d /src/wallet/spend.cpp
parent0387ca0774be0fa05a81cb91f880c53a7ad5fade (diff)
downloadbitcoin-43de4d3630274e1287179c86896ed4c2d8b9eff4.tar.xz
doc: fix typos
As found by lint-spelling.py using codespell 2.2.6.
Diffstat (limited to 'src/wallet/spend.cpp')
-rw-r--r--src/wallet/spend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/spend.cpp b/src/wallet/spend.cpp
index 8314a2ddfa..ed621cad61 100644
--- a/src/wallet/spend.cpp
+++ b/src/wallet/spend.cpp
@@ -1257,7 +1257,7 @@ static util::Result<CreatedTransactionResult> CreateTransactionInternal(
}
// Before we return success, we assume any change key will be used to prevent
- // accidental re-use.
+ // accidental reuse.
reservedest.KeepDestination();
wallet.WalletLogPrintf("Fee Calculation: Fee:%d Bytes:%u Tgt:%d (requested %d) Reason:\"%s\" Decay %.5f: Estimation: (%g - %g) %.2f%% %.1f/(%.1f %d mem %.1f out) Fail: (%g - %g) %.2f%% %.1f/(%.1f %d mem %.1f out)\n",
@@ -1299,7 +1299,7 @@ util::Result<CreatedTransactionResult> CreateTransaction(
CCoinControl tmp_cc = coin_control;
tmp_cc.m_avoid_partial_spends = true;
- // Re-use the change destination from the first creation attempt to avoid skipping BIP44 indexes
+ // Reuse the change destination from the first creation attempt to avoid skipping BIP44 indexes
const int ungrouped_change_pos = txr_ungrouped.change_pos;
if (ungrouped_change_pos != -1) {
ExtractDestination(txr_ungrouped.tx->vout[ungrouped_change_pos].scriptPubKey, tmp_cc.destChange);