diff options
author | Pieter Wuille <pieter@wuille.net> | 2022-04-04 15:05:47 -0400 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-04-27 14:13:39 +0200 |
commit | e7d2fbda63c346ae88767c3f8d4db3edeae2dc0b (patch) | |
tree | 4dd8119287a61d27f9b95b2a33a946ac8120d7e9 /src/bitcoin-tx.cpp | |
parent | 8ffbd1412d887535ce5eb613884858c319bd12be (diff) |
Use std::string_view throughout util strencodings/string
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r-- | src/bitcoin-tx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 05f910e9cb..cdc5960c12 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -240,7 +240,7 @@ static void MutateTxRBFOptIn(CMutableTransaction& tx, const std::string& strInId template <typename T> static T TrimAndParse(const std::string& int_str, const std::string& err) { - const auto parsed{ToIntegral<T>(TrimString(int_str))}; + const auto parsed{ToIntegral<T>(TrimStringView(int_str))}; if (!parsed.has_value()) { throw std::runtime_error(err + " '" + int_str + "'"); } |