doc: fix typo and update incorrect comment

This commit is contained in:
ismaelsadeeq
2023-12-06 14:47:44 +01:00
parent 562664d263
commit fcd4296648
2 changed files with 2 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ void Shutdown(NodeContext& node)
DumpMempool(*node.mempool, MempoolPath(*node.args)); DumpMempool(*node.mempool, MempoolPath(*node.args));
} }
// Drop transactions we were still watching, record fee estimations and Unregister // Drop transactions we were still watching, record fee estimations and unregister
// fee estimator from validation interface. // fee estimator from validation interface.
if (node.fee_estimator) { if (node.fee_estimator) {
node.fee_estimator->Flush(); node.fee_estimator->Flush();

View File

@@ -150,7 +150,7 @@ protected:
virtual void BlockConnected(ChainstateRole role, const std::shared_ptr<const CBlock> &block, const CBlockIndex *pindex) {} virtual void BlockConnected(ChainstateRole role, const std::shared_ptr<const CBlock> &block, const CBlockIndex *pindex) {}
/** /**
* Notifies listeners of a block being disconnected * Notifies listeners of a block being disconnected
* Provides the block that was connected. * Provides the block that was disconnected.
* *
* Called on a background thread. Only called for the active chainstate, since * Called on a background thread. Only called for the active chainstate, since
* background chainstates should never disconnect blocks. * background chainstates should never disconnect blocks.