mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Rename wallet-based blinding pubkey lookups
This commit is contained in:
parent
0caab49550
commit
c5cc67a999
2 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue