Replace use of boost::trim_right with locale-independent TrimString

Note the only use of readStdin is fed to DecodeHexTx, which fails in
IsHex on non-hex characters as recorded in p_util_hexdigit.
This commit is contained in:
Ben Woosley authored and fanquake committed 2021-09-02 13:19:42 +08:00
1 parent 93551862a1
commit 4bf18b089e
2 files changed
+1 -4

No files matched your search

-1
View File
@@ -39,7 +39,6 @@ export LC_ALL=C
KNOWN_VIOLATIONS=(
"src/bitcoin-tx.cpp.*stoul"
"src/bitcoin-tx.cpp.*trim_right"
"src/dbwrapper.cpp.*stoul"
"src/dbwrapper.cpp:.*vsnprintf"
"src/node/blockstorage.cpp:.*atoi"