From 1c3db0ed8e6f51d66facf4820a9225f6c617ac53 Mon Sep 17 00:00:00 2001 From: stickies-v Date: Thu, 21 Aug 2025 15:54:02 +0100 Subject: [PATCH] doc: use new block_to_connect parameter name This was previously changed in 9ba1fff29e4794615c599e59ef453848a9bdb880, without updating the documentation. Co-authored-by: stringintech --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation.cpp b/src/validation.cpp index 46265a1985f..8fcc719a684 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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.