mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge c38157b9b9 into merged_master (Bitcoin PR bitcoin/bitcoin#29606)
This commit is contained in:
commit
8fe9bb76ba
1 changed files with 2 additions and 0 deletions
|
|
@ -446,6 +446,7 @@ bool ParseFixedPoint(std::string_view val, int decimals, int64_t *amount_out)
|
|||
std::string ToLower(std::string_view str)
|
||||
{
|
||||
std::string r;
|
||||
r.reserve(str.size());
|
||||
for (auto ch : str) r += ToLower(ch);
|
||||
return r;
|
||||
}
|
||||
|
|
@ -453,6 +454,7 @@ std::string ToLower(std::string_view str)
|
|||
std::string ToUpper(std::string_view str)
|
||||
{
|
||||
std::string r;
|
||||
r.reserve(str.size());
|
||||
for (auto ch : str) r += ToUpper(ch);
|
||||
return r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue