Merge 11f68cc810 into merged_master (Bitcoin PR bitcoin/bitcoin#31212)

This commit is contained in:
ivanlele 2026-04-08 12:06:36 +00:00
commit 5eec58e762
No known key found for this signature in database
16 changed files with 210 additions and 75 deletions

View file

@ -108,11 +108,11 @@ static int AppInitRawTx(int argc, char* argv[])
fCreateBlank = gArgs.GetBoolArg("-create", false);
if (argc < 2 || HelpRequested(gArgs) || gArgs.IsArgSet("-version")) {
if (argc < 2 || HelpRequested(gArgs) || gArgs.GetBoolArg("-version", false)) {
// First part of help message is specific to this utility
std::string strUsage = CLIENT_NAME " elements-tx utility version " + FormatFullVersion() + "\n";
if (gArgs.IsArgSet("-version")) {
if (gArgs.GetBoolArg("-version", false)) {
strUsage += FormatParagraph(LicenseInfo());
} else {
strUsage += "\n"