mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
wallet: Change output type globals to members
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user