mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-17 03:50:03 +02:00
src/WIF.cpp: in wif_print_key() print public before private.
This commit is contained in:
parent
f6ba8a73a2
commit
161b7e80e1
1 changed files with 2 additions and 2 deletions
|
|
@ -54,6 +54,6 @@ std::string wif_pub_encode(ec_pubkey_t pub) {
|
|||
|
||||
void wif_print_key(const struct ec_keypair *key) {
|
||||
|
||||
std::cout << "Private: " << wif_priv_encode(key->secret) << std::endl;
|
||||
std::cout << "Public: " << wif_pub_encode(key->pub) << std::endl;
|
||||
std::cout << "Public: " << wif_pub_encode(key->pub) << std::endl;
|
||||
std::cout << "Private: " << wif_priv_encode(key->secret) << std::endl;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue