diff options
author | Matt Corallo <git@bluematt.me> | 2016-11-04 10:50:43 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2016-11-04 10:50:43 -0400 |
commit | 190fd321ad772dd2e9d11ec2395a807bc72de5a7 (patch) | |
tree | 6cdba6b78de5e50337a786b64f29be75bfd6d3a3 /src/primitives | |
parent | ed64bcec2dde1f4255f3bd5b0c2f01e4dfe260d3 (diff) |
Remove unused CTxOut::GetHash()
Diffstat (limited to 'src/primitives')
-rw-r--r-- | src/primitives/transaction.cpp | 5 | ||||
-rw-r--r-- | src/primitives/transaction.h | 2 |
2 files changed, 0 insertions, 7 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)); diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h index 16c2e5c454..1afeb87039 100644 --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -160,8 +160,6 @@ public: return (nValue == -1); } - uint256 GetHash() const; - CAmount GetDustThreshold(const CFeeRate &minRelayTxFee) const { // "Dust" is defined in terms of CTransaction::minRelayTxFee, |