mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
Fix comment typos in scriptpubkeyman.cpp, wallet.cpp, wallet.h
Fix comment typos: sigature -> signature ponter -> pointer it's key -> its key
This commit is contained in:
parent
73b61717a9
commit
adb1714426
3 changed files with 3 additions and 3 deletions
|
@ -586,7 +586,7 @@ bool LegacyScriptPubKeyMan::CanProvide(const CScript& script, SignatureData& sig
|
||||||
// or solving information, even if not able to sign fully.
|
// or solving information, even if not able to sign fully.
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
// If, given the stuff in sigdata, we could make a valid sigature, then we can provide for this script
|
// If, given the stuff in sigdata, we could make a valid signature, then we can provide for this script
|
||||||
ProduceSignature(*this, DUMMY_SIGNATURE_CREATOR, script, sigdata);
|
ProduceSignature(*this, DUMMY_SIGNATURE_CREATOR, script, sigdata);
|
||||||
if (!sigdata.signatures.empty()) {
|
if (!sigdata.signatures.empty()) {
|
||||||
// If we could make signatures, make sure we have a private key to actually make a signature
|
// If we could make signatures, make sure we have a private key to actually make a signature
|
||||||
|
|
|
@ -124,7 +124,7 @@ bool RemoveWallet(WalletContext& context, const std::shared_ptr<CWallet>& wallet
|
||||||
interfaces::Chain& chain = wallet->chain();
|
interfaces::Chain& chain = wallet->chain();
|
||||||
std::string name = wallet->GetName();
|
std::string name = wallet->GetName();
|
||||||
|
|
||||||
// Unregister with the validation interface which also drops shared ponters.
|
// Unregister with the validation interface which also drops shared pointers.
|
||||||
wallet->m_chain_notifications_handler.reset();
|
wallet->m_chain_notifications_handler.reset();
|
||||||
LOCK(context.wallets_mutex);
|
LOCK(context.wallets_mutex);
|
||||||
std::vector<std::shared_ptr<CWallet>>::iterator i = std::find(context.wallets.begin(), context.wallets.end(), wallet);
|
std::vector<std::shared_ptr<CWallet>>::iterator i = std::find(context.wallets.begin(), context.wallets.end(), wallet);
|
||||||
|
|
|
@ -195,7 +195,7 @@ public:
|
||||||
util::Result<CTxDestination> GetReservedDestination(bool internal);
|
util::Result<CTxDestination> GetReservedDestination(bool internal);
|
||||||
//! Return reserved address
|
//! Return reserved address
|
||||||
void ReturnDestination();
|
void ReturnDestination();
|
||||||
//! Keep the address. Do not return it's key to the keypool when this object goes out of scope
|
//! Keep the address. Do not return its key to the keypool when this object goes out of scope
|
||||||
void KeepDestination();
|
void KeepDestination();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue