Skip to content

Commit 55dd385

Browse files
committed
Merge bitcoin/bitcoin#23414: wallet: Fix comment grammar in bdb.h
bd9c6ad wallet: Fixed Grammatical error in bdb.h (zealsham) Pull request description: A comment in bdb.h file in the wallet directory contains a grammatical error that makes the underlying code harder to reason about . The comment which says `/** Indicate the a new database user has began using the database. */` should actually be `/** indicate that a new database user has began using the database. */`. The former is quite confusing , and leaves you wondering what "the a new database user " is refering to . This pull request thus provides value to the bitcoin codebase by improving readability . Top commit has no ACKs. Tree-SHA512: db07cda39f89ac344be3497c884a8c6e4b48276afae18e931a9a8e5732c58eed20645ccd18d6b1212c763f64b1300477c1de26a00b5b3b24e6141ffae3658ca7
2 parents 94db963 + bd9c6ad commit 55dd385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/bdb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class BerkeleyDatabase : public WalletDatabase
113113
*/
114114
bool Rewrite(const char* pszSkip=nullptr) override;
115115

116-
/** Indicate the a new database user has began using the database. */
116+
/** Indicate that a new database user has begun using the database. */
117117
void AddRef() override;
118118
/** Indicate that database user has stopped using the database and that it could be flushed or closed. */
119119
void RemoveRef() override;

0 commit comments

Comments
 (0)