From fab80fef61ddd4afeff6e497c7e76bffcd05e8a4 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sun, 14 Jun 2020 14:17:24 -0400 Subject: refactor: Remove unused EnsureChainman --- src/node/context.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/node') diff --git a/src/node/context.h b/src/node/context.h index c45d9e6689..c783c39cd6 100644 --- a/src/node/context.h +++ b/src/node/context.h @@ -49,10 +49,4 @@ struct NodeContext { ~NodeContext(); }; -inline ChainstateManager& EnsureChainman(const NodeContext& node) -{ - assert(node.chainman); - return *node.chainman; -} - #endif // BITCOIN_NODE_CONTEXT_H -- cgit v1.2.3