From 9373efc31e718d7dfa9692dfbf41a697bac5061a Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 30 Oct 2024 01:28:15 +0400 Subject: [PATCH] Fix wallet_fast_rescan.py --- src/rpc/output_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/output_script.cpp b/src/rpc/output_script.cpp index 8eb023214b..c21cfb6597 100644 --- a/src/rpc/output_script.cpp +++ b/src/rpc/output_script.cpp @@ -196,7 +196,7 @@ static RPCHelpMan deriveaddresses() for (const CScript& script : scripts) { CTxDestination dest; - if (!ExtractDestination(script, dest)) { + if (!ExtractDestination(script, dest, nullptr, true)) { // ExtractDestination no longer returns true for P2PK since it doesn't have a corresponding address // However combo will output P2PK and should just ignore that script if (scripts.size() > 1 && std::get_if(&dest)) {