From c5cc67a99935d96ec79a7654aa8137801515b0ec Mon Sep 17 00:00:00 2001 From: instagibbs Date: Thu, 5 May 2016 14:27:46 -0400 Subject: [PATCH] Rename wallet-based blinding pubkey lookups --- src/wallet/wallet.cpp | 4 ++-- src/wallet/wallet.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index c57f7154c8..a74c8b73ea 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1501,7 +1501,7 @@ void CWalletTx::GetAmounts(list& 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; diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index f046b6409c..efa96da5ca 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -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; };