doc: fix typo and update incorrect comment

This commit is contained in:
ismaelsadeeq committed 2024-01-02 12:40:11 +01:00
1 parent 562664d263
commit fcd4296648
2 files changed
+2 -2

No files matched your search

+1 -1
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();
+1 -1
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.