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:
parent
d904fd38c3
commit
4b8c1c7733
1 changed files with 3 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue