diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-02-10 21:06:35 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-03-17 16:10:01 -0400 |
commit | fab8a6f609d15863545955d6523c616c2a97eeab (patch) | |
tree | a6ec9f9c5572e341ac150f470ed7dc24accfae28 /src/wallet/rpcdump.cpp | |
parent | 7be9a9a570c1140048f8781ced1111e1d930e517 (diff) | |
download | bitcoin-fab8a6f609d15863545955d6523c616c2a97eeab.tar.xz |
wallet: Change output type globals to members
Diffstat (limited to 'src/wallet/rpcdump.cpp')
-rw-r--r-- | src/wallet/rpcdump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 01125dd618..1721bc6df6 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -83,7 +83,7 @@ bool GetWalletAddressesForKey(CWallet * const pwallet, const CKeyID &keyid, std: } } if (!fLabelFound) { - strAddr = EncodeDestination(GetDestinationForKey(key.GetPubKey(), g_address_type)); + strAddr = EncodeDestination(GetDestinationForKey(key.GetPubKey(), pwallet->m_default_address_type)); } return fLabelFound; } |