Decoding of key images seems fixed. Need still do output file decoding.

https://github.com/moneroexamples/onion-monero-blockchain-explorer/issues/115
This commit is contained in:
moneroexamples 2018-05-09 19:47:28 +08:00
parent 74a0096cdc
commit 404f6ddec9

View file

@ -338,7 +338,7 @@ void chunks(Iterator begin,
*/ */
template <typename T> template <typename T>
inline string inline string
remove_bad_chars(T&& in_str, std::regex const& rgx = std::regex ("[^a-zA-Z0-9]")) remove_bad_chars(T&& in_str, std::regex const& rgx = std::regex ("[^a-zA-Z0-9+/=]"))
{ {
return std::regex_replace(std::forward<T>(in_str), rgx, ""); return std::regex_replace(std::forward<T>(in_str), rgx, "");
} }