Skip to content

Commit fcd4296

Browse files
committed
doc: fix typo and update incorrect comment
1 parent 562664d commit fcd4296

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ void Shutdown(NodeContext& node)
301301
DumpMempool(*node.mempool, MempoolPath(*node.args));
302302
}
303303

304-
// Drop transactions we were still watching, record fee estimations and Unregister
304+
// Drop transactions we were still watching, record fee estimations and unregister
305305
// fee estimator from validation interface.
306306
if (node.fee_estimator) {
307307
node.fee_estimator->Flush();

src/validationinterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class CValidationInterface {
150150
virtual void BlockConnected(ChainstateRole role, const std::shared_ptr<const CBlock> &block, const CBlockIndex *pindex) {}
151151
/**
152152
* Notifies listeners of a block being disconnected
153-
* Provides the block that was connected.
153+
* Provides the block that was disconnected.
154154
*
155155
* Called on a background thread. Only called for the active chainstate, since
156156
* background chainstates should never disconnect blocks.

0 commit comments

Comments
 (0)