diff options
| author | Matt Corallo <[email protected]> | 2016-11-04 10:50:43 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2016-11-04 10:50:43 -0400 |
| commit | 190fd321ad772dd2e9d11ec2395a807bc72de5a7 (patch) | |
| tree | 6cdba6b78de5e50337a786b64f29be75bfd6d3a3 /src/primitives/transaction.cpp | |
| parent | Merge #9069: Clean up bctest.py and bitcoin-util-test.py (diff) | |
| download | discoin-190fd321ad772dd2e9d11ec2395a807bc72de5a7.tar.xz discoin-190fd321ad772dd2e9d11ec2395a807bc72de5a7.zip | |
Remove unused CTxOut::GetHash()
Diffstat (limited to 'src/primitives/transaction.cpp')
| -rw-r--r-- | src/primitives/transaction.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp index 4afbe99fd..7acdac17f 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)); |