doc: use new block_to_connect parameter name

This was previously changed in 9ba1fff29e,
without updating the documentation.

Co-authored-by: stringintech <stringintech@gmail.com>
This commit is contained in:
stickies-v
2025-08-21 15:54:02 +01:00
parent 7d9789401b
commit 1c3db0ed8e

View File

@@ -3103,7 +3103,7 @@ public:
};
/**
* Connect a new block to m_chain. pblock is either nullptr or a pointer to a CBlock
* Connect a new block to m_chain. block_to_connect is either nullptr or a pointer to a CBlock
* corresponding to pindexNew, to bypass loading it again from disk.
*
* The block is added to connectTrace if connection succeeds.