Skip to content

Commit adb1714

Browse files
dimitris-tDimitris Tsapakidis
authored and
Dimitris Tsapakidis
committed
Fix comment typos in scriptpubkeyman.cpp, wallet.cpp, wallet.h
Fix comment typos: sigature -> signature ponter -> pointer it's key -> its key
1 parent 73b6171 commit adb1714

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/wallet/scriptpubkeyman.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ bool LegacyScriptPubKeyMan::CanProvide(const CScript& script, SignatureData& sig
586586
// or solving information, even if not able to sign fully.
587587
return true;
588588
} else {
589-
// If, given the stuff in sigdata, we could make a valid sigature, then we can provide for this script
589+
// If, given the stuff in sigdata, we could make a valid signature, then we can provide for this script
590590
ProduceSignature(*this, DUMMY_SIGNATURE_CREATOR, script, sigdata);
591591
if (!sigdata.signatures.empty()) {
592592
// If we could make signatures, make sure we have a private key to actually make a signature

src/wallet/wallet.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ bool RemoveWallet(WalletContext& context, const std::shared_ptr<CWallet>& wallet
124124
interfaces::Chain& chain = wallet->chain();
125125
std::string name = wallet->GetName();
126126

127-
// Unregister with the validation interface which also drops shared ponters.
127+
// Unregister with the validation interface which also drops shared pointers.
128128
wallet->m_chain_notifications_handler.reset();
129129
LOCK(context.wallets_mutex);
130130
std::vector<std::shared_ptr<CWallet>>::iterator i = std::find(context.wallets.begin(), context.wallets.end(), wallet);

src/wallet/wallet.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class ReserveDestination
195195
util::Result<CTxDestination> GetReservedDestination(bool internal);
196196
//! Return reserved address
197197
void ReturnDestination();
198-
//! Keep the address. Do not return it's key to the keypool when this object goes out of scope
198+
//! Keep the address. Do not return its key to the keypool when this object goes out of scope
199199
void KeepDestination();
200200
};
201201

0 commit comments

Comments
 (0)