mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
Make GetWarnings() return bilingual_str
This commit is contained in:
@@ -41,7 +41,7 @@ void SetfLargeWorkInvalidChainFound(bool flag)
|
||||
fLargeWorkInvalidChainFound = flag;
|
||||
}
|
||||
|
||||
std::string GetWarnings(bool verbose)
|
||||
bilingual_str GetWarnings(bool verbose)
|
||||
{
|
||||
bilingual_str warnings_concise;
|
||||
std::vector<bilingual_str> warnings_verbose;
|
||||
@@ -69,8 +69,8 @@ std::string GetWarnings(bool verbose)
|
||||
}
|
||||
|
||||
if (verbose) {
|
||||
return Join(warnings_verbose, Untranslated("<hr />")).translated;
|
||||
return Join(warnings_verbose, Untranslated("<hr />"));
|
||||
}
|
||||
|
||||
return warnings_concise.original;
|
||||
return warnings_concise;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user