aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
author21E14 <21xe14@gmail.com>2014-10-19 21:41:37 -0400
committer21E14 <21xe14@gmail.com>2014-10-20 17:56:19 -0400
commitb7ae2c172a93489fc621622e36dc4258c3934cb7 (patch)
tree9c06b0fd8056bfca97e4e5dba34e053f5e481fbd /src/chain.h
parent84d13eef883769451ba9f77b56d9738d24474d5c (diff)
Chain::SetTip return type to void
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chain.h b/src/chain.h
index 4e6a466c6a..0533eeb730 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -395,8 +395,8 @@ public:
return vChain.size() - 1;
}
- /** Set/initialize a chain with a given tip. Returns the forking point. */
- CBlockIndex *SetTip(CBlockIndex *pindex);
+ /** Set/initialize a chain with a given tip. */
+ void SetTip(CBlockIndex *pindex);
/** Return a CBlockLocator that refers to a block in this chain (by default the tip). */
CBlockLocator GetLocator(const CBlockIndex *pindex = NULL) const;