Skip to content

Commit

Permalink
Fix wallet_fast_rescan.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil committed Oct 29, 2024
1 parent 23af9aa commit 9373efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rpc/output_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<PubKeyDestination>(&dest)) {
Expand Down

0 comments on commit 9373efc

Please sign in to comment.