1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-keygen synced 2026-06-17 03:50:03 +02:00

WIF: Add const to wif_print_key()

This commit is contained in:
Henrik Hautakoski 2020-01-10 07:29:45 +01:00
parent a9181bab91
commit 88638d0e94
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ std::string wif_pub_encode(ec_pubkey_t pub) {
return "EOS" + base58_encode(buf, buf + sizeof(buf));
}
void wif_print_key(struct ec_keypair *key) {
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;