Chain::SetTip return type to void

This commit is contained in:
21E14
2014-10-19 21:41:37 -04:00
parent 84d13eef88
commit b7ae2c172a
2 changed files with 4 additions and 5 deletions

View File

@@ -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;