diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-10-07 14:11:34 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2019-12-02 11:57:20 -0500 |
commit | ba41aa4969169cd73d6b4f57444ed7d8d875de10 (patch) | |
tree | 1645f6defd962dc195bde34031a862a9bc84eed3 /src/wallet/wallet.h | |
parent | 65833a74076cddf986037c6eb3b29a9b9dbe31c5 (diff) | |
download | bitcoin-ba41aa4969169cd73d6b4f57444ed7d8d875de10.tar.xz |
Key pool: Move LearnRelated and GetDestination calls
Addresses are determined by LegacyScriptPubKeyMan::GetReservedDestination
instead of ReserveDestination::GetReservedDestination as other ScriptPubKeyMan
implementations may construct addresses differently
This does not change behavior.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index fce49ec56c..f6cbe6f6de 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -141,7 +141,8 @@ class ReserveDestination protected: //! The wallet to reserve from CWallet* const pwallet; - LegacyScriptPubKeyMan* m_spk_man{nullptr}; + //! The ScriptPubKeyMan to reserve from. Based on type when GetReservedDestination is called + ScriptPubKeyMan* m_spk_man{nullptr}; OutputType const type; //! The index of the address's key in the keypool int64_t nIndex{-1}; |