diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-07-11 20:21:05 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-07-11 20:24:42 -0400 |
commit | ab28e31c9563bd2cd1e4a088ffd2479517dc83f2 (patch) | |
tree | 1b907f31bdd3a9c1d6a5b8b4d01a869e774044bc /src/wallet/wallet.h | |
parent | 7400135b7918df9c34206bead744c496e07b0e78 (diff) | |
download | bitcoin-ab28e31c9563bd2cd1e4a088ffd2479517dc83f2.tar.xz |
Change ImportScriptPubKeys' internal to apply_label
The internal bool was only to indicate whether the given label should
be applied as things that are internal should not have a label. To make
this clearer, we change internal to apply_label and invert its usage
so things that have labels set this to true in order to have their labels
applied.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 7b5465c219..b2810246dc 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1095,7 +1095,7 @@ public: bool ImportScripts(const std::set<CScript> scripts) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool ImportPrivKeys(const std::map<CKeyID, CKey>& privkey_map, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); bool ImportPubKeys(const std::vector<CKeyID>& ordered_pubkeys, const std::map<CKeyID, CPubKey>& pubkey_map, const std::map<CKeyID, std::pair<CPubKey, KeyOriginInfo>>& key_origins, const bool add_keypool, const bool internal, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); - bool ImportScriptPubKeys(const std::string& label, const std::set<CScript>& script_pub_keys, const bool have_solving_data, const bool internal, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); + bool ImportScriptPubKeys(const std::string& label, const std::set<CScript>& script_pub_keys, const bool have_solving_data, const bool apply_label, const int64_t timestamp) EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); CFeeRate m_pay_tx_fee{DEFAULT_PAY_TX_FEE}; unsigned int m_confirm_target{DEFAULT_TX_CONFIRM_TARGET}; |