1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 03:34:56 +02:00

src/ec.cpp: in _hex() add comma between numbers.

This commit is contained in:
Henrik Hautakoski 2023-03-16 12:09:52 +01:00
parent d904fd38c3
commit 4b8c1c7733

View file

@ -32,9 +32,10 @@ std::ostream& _hex(std::ostream& os, const unsigned char *b, std::size_t sz) {
if (v <= 0xF) {
os << "0";
}
os << v << " ";
os << v;
if (i < sz-1) os << ", ";
}
return os << std::oct << "]";
return os << std::oct << " ]";
}
std::ostream& operator<<(std::ostream& os, const libeosio::ec_privkey_t& k) {