aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.cpp
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2019-11-20 12:38:44 -0500
committerAndrew Chow <[email protected]>2019-11-22 23:45:34 -0500
commitbb2c8ce23c9d7ba8d0e5538243e07218443c85b4 (patch)
treeba69a2c29e32a5f5fa44720e07f81b63a6528d7e /src/wallet/scriptpubkeyman.cpp
parentMerge #17447: wallet: Make -walletdir network only (diff)
downloaddiscoin-bb2c8ce23c9d7ba8d0e5538243e07218443c85b4.tar.xz
discoin-bb2c8ce23c9d7ba8d0e5538243e07218443c85b4.zip
keypool: Remove superfluous topup from CWallet::GetNewChangeDestination
This does not change behavior. This TopUp() is unnecessary as currently m_spk_man calls TopUp further down the call stack inside LegacyScriptPubKeyMan::ReserveKeyFromKeyPool (called by LegacyScriptPubKeyMan::GetReservedDestination) By removing this here, we also prepare for future changes where CWallet has multiple ScriptPubKeyMans instead of m_spk_man.
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
0 files changed, 0 insertions, 0 deletions