aboutsummaryrefslogtreecommitdiff
path: root/src/core.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-06-09 10:02:00 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-06-22 00:06:17 +0200
commitd38da59bf68fbb37535e2579bfb7355a16baed0e (patch)
treefb9821f60f32fa8ea0564d1149fa37ab396ead97 /src/core.h
parent4949004d68dc08382df2c34ae519c1b1cfd60f1a (diff)
Code simplifications after CTransaction::GetHash() caching
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core.h b/src/core.h
index 1a20145ccf..27fda95552 100644
--- a/src/core.h
+++ b/src/core.h
@@ -496,12 +496,6 @@ public:
uint256 BuildMerkleTree() const;
- const uint256 &GetTxHash(unsigned int nIndex) const {
- assert(vMerkleTree.size() > 0); // BuildMerkleTree must have been called first
- assert(nIndex < vtx.size());
- return vMerkleTree[nIndex];
- }
-
std::vector<uint256> GetMerkleBranch(int nIndex) const;
static uint256 CheckMerkleBranch(uint256 hash, const std::vector<uint256>& vMerkleBranch, int nIndex);
void print() const;