aboutsummaryrefslogtreecommitdiff
path: root/src/primitives/transaction.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2016-11-04 10:50:43 -0400
committerMatt Corallo <git@bluematt.me>2016-11-04 10:50:43 -0400
commit190fd321ad772dd2e9d11ec2395a807bc72de5a7 (patch)
tree6cdba6b78de5e50337a786b64f29be75bfd6d3a3 /src/primitives/transaction.cpp
parented64bcec2dde1f4255f3bd5b0c2f01e4dfe260d3 (diff)
downloadbitcoin-190fd321ad772dd2e9d11ec2395a807bc72de5a7.tar.xz
Remove unused CTxOut::GetHash()
Diffstat (limited to 'src/primitives/transaction.cpp')
-rw-r--r--src/primitives/transaction.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp
index 4afbe99fd3..7acdac17f2 100644
--- a/src/primitives/transaction.cpp
+++ b/src/primitives/transaction.cpp
@@ -49,11 +49,6 @@ CTxOut::CTxOut(const CAmount& nValueIn, CScript scriptPubKeyIn)
scriptPubKey = scriptPubKeyIn;
}
-uint256 CTxOut::GetHash() const
-{
- return SerializeHash(*this);
-}
-
std::string CTxOut::ToString() const
{
return strprintf("CTxOut(nValue=%d.%08d, scriptPubKey=%s)", nValue / COIN, nValue % COIN, HexStr(scriptPubKey).substr(0, 30));