Rename wallet-based blinding pubkey lookups

This commit is contained in:
instagibbs 2016-05-05 14:27:46 -04:00 committed by Gregory Sanders
parent 0caab49550
commit c5cc67a999
2 changed files with 3 additions and 3 deletions

View file

@ -1501,7 +1501,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
continue;
}
COutputEntry output = {address, nValueOut, (int)i, GetBlindingKey(i)};
COutputEntry output = {address, nValueOut, (int)i, GetBlindingPubKey(i)};
// If we are debited by the transaction, add the output as a "sent" entry
if (nDebit > 0)
@ -1967,7 +1967,7 @@ uint256 CWalletTx::GetBlindingFactor(unsigned int nOut) const {
}
CPubKey CWalletTx::GetBlindingKey(unsigned int nOut) const {
CPubKey CWalletTx::GetBlindingPubKey(unsigned int nOut) const {
CPubKey ret;
GetBlindingData(nOut, NULL, &ret, NULL);
return ret;

View file

@ -449,7 +449,7 @@ public:
//! Returns either the blinding factor (if it is to us) or 0
uint256 GetBlindingFactor(unsigned int nOut) const;
CPubKey GetBlindingKey(unsigned int nOut) const;
CPubKey GetBlindingPubKey(unsigned int nOut) const;
};