From faab8dceb37a944d0763fcca390342111e6a9fcc Mon Sep 17 00:00:00 2001 From: MacroFake Date: Fri, 29 Apr 2022 09:41:09 +0200 Subject: Remove unused SetTip(nullptr) code --- src/chain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chain.h') 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; -- cgit v1.2.3