Skip to content

Commit d6a84bc

Browse files
committed
chore: remove redundant words
Signed-off-by: fuyangpengqi <[email protected]>
1 parent a6d1220 commit d6a84bc

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

doc/developer-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ General C++
264264

265265
- Assertions should not have side-effects
266266

267-
- *Rationale*: Even though the source code is set to to refuse to compile
267+
- *Rationale*: Even though the source code is set to refuse to compile
268268
with assertions disabled, having side-effects in assertions is unexpected and
269269
makes the code harder to understand
270270

qa/rpc-tests/auxpow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def run_test(self):
6161
raise ex
6262
self.sync_all()
6363

64-
# 5. mine blocks until we're in in auxpow era
64+
# 5. mine blocks until we're in auxpow era
6565
self.nodes[1].generate(self.AUXPOW_START - self.DIGISHIELD_START)
6666
self.sync_all()
6767

qa/rpc-tests/test_framework/mininode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
# One lock for synchronizing all data access between the networking thread (see
6565
# NetworkThread below) and the thread running the test logic. For simplicity,
66-
# NodeConn acquires this lock whenever delivering a message to to a NodeConnCB,
66+
# NodeConn acquires this lock whenever delivering a message to a NodeConnCB,
6767
# and whenever adding anything to the send buffer (in send_message()). This
6868
# lock should be acquired in the thread running the test logic to synchronize
6969
# access to any data shared with the NodeConnCB or NodeConn.

src/qt/walletmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran
342342
transaction_array.append(&(ssTx[0]), ssTx.size());
343343
}
344344

345-
// Add addresses / update labels that we've sent to to the address book,
345+
// Add addresses / update labels that we've sent to the address book,
346346
// and emit coinsSent signal for each recipient
347347
Q_FOREACH(const SendCoinsRecipient &rcp, transaction.getRecipients())
348348
{

src/txmempool.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void CTxMemPool::UpdateTransactionsFromBlock(const std::vector<uint256> &vHashes
135135
// accounted for in the state of their ancestors)
136136
std::set<uint256> setAlreadyIncluded(vHashesToUpdate.begin(), vHashesToUpdate.end());
137137

138-
// Iterate in reverse, so that whenever we are looking at at a transaction
138+
// Iterate in reverse, so that whenever we are looking at a transaction
139139
// we are sure that all in-mempool descendants have already been processed.
140140
// This maximizes the benefit of the descendant cache and guarantees that
141141
// setMemPoolChildren will be updated, an assumption made in

0 commit comments

Comments
 (0)