aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-06-14 14:17:24 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-06-15 07:39:35 -0400
commitfab80fef61ddd4afeff6e497c7e76bffcd05e8a4 (patch)
tree18eee04e36fc7dc2fc30c82da3608b7df4d2fca8 /src/node
parentfa34587f1c811d99200453b0936219c473f514b0 (diff)
downloadbitcoin-fab80fef61ddd4afeff6e497c7e76bffcd05e8a4.tar.xz
refactor: Remove unused EnsureChainman
Diffstat (limited to 'src/node')
-rw-r--r--src/node/context.h6
1 files changed, 0 insertions, 6 deletions
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