aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-04-29 09:41:09 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-03 09:21:53 +0200
commitfaab8dceb37a944d0763fcca390342111e6a9fcc (patch)
tree24d4bd22ec0e21ef9cebf088c4c26bb1a8640983 /src/chain.h
parent816ca01650f4cc66a61ac2f9b0f8b74cd9cd0cf8 (diff)
Remove unused SetTip(nullptr) code
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h
index 627a3dfab2..1c5cd3f1f6 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -465,7 +465,7 @@ public:
}
/** Set/initialize a chain with a given tip. */
- void SetTip(CBlockIndex* pindex);
+ void SetTip(CBlockIndex& block);
/** Return a CBlockLocator that refers to a block in this chain (by default the tip). */
CBlockLocator GetLocator(const CBlockIndex* pindex = nullptr) const;