mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 20:10:03 +02:00
include/libeosio/WIF.hpp: Pass ec_privkey_t and ec_pubkey_t as const reference.
This commit is contained in:
parent
45c1f2909d
commit
77c93edc13
2 changed files with 4 additions and 4 deletions
|
|
@ -32,12 +32,12 @@ namespace libeosio {
|
|||
/**
|
||||
* Encode an EC private key to WIF String.
|
||||
*/
|
||||
std::string wif_priv_encode(ec_privkey_t priv);
|
||||
std::string wif_priv_encode(const ec_privkey_t& priv);
|
||||
|
||||
/**
|
||||
* Encode an EC public key to WIF String.
|
||||
*/
|
||||
std::string wif_pub_encode(ec_pubkey_t pub, const std::string& prefix = "EOS");
|
||||
std::string wif_pub_encode(const ec_pubkey_t& pub, const std::string& prefix = "EOS");
|
||||
|
||||
/**
|
||||
* Prints an EC keypair in WIF format to standard out.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue