Skip to content

Commit

Permalink
Fix bug in GetNewDestination
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunovo committed Jun 12, 2024
1 parent de46052 commit 8fd79d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wallet/scriptpubkeyman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,6 @@ util::Result<CTxDestination> DescriptorScriptPubKeyMan::GetNewDestination(const
return util::Error{_("Error: Keypool ran out, please call keypoolrefill first")};
}

CTxDestination dest;
if (!ExtractDestination(scripts_temp[0], dest)) {
return util::Error{_("Error: Cannot extract destination from the generated scriptpubkey")}; // shouldn't happen
}
Expand Down

0 comments on commit 8fd79d9

Please sign in to comment.