mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
refactor: Remove unused EnsureChainman
This commit is contained in:
parent
fa34587f1c
commit
fab80fef61
3 changed files with 7 additions and 9 deletions
|
|
@ -49,10 +49,4 @@ struct NodeContext {
|
|||
~NodeContext();
|
||||
};
|
||||
|
||||
inline ChainstateManager& EnsureChainman(const NodeContext& node)
|
||||
{
|
||||
assert(node.chainman);
|
||||
return *node.chainman;
|
||||
}
|
||||
|
||||
#endif // BITCOIN_NODE_CONTEXT_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue