Remove old funtion in deprecated
This commit is contained in:
@@ -63,33 +63,6 @@ void getEthAddressStringFromRawKey(const uint8_t raw_pubkey[static 65],
|
||||
char out[static ADDRESS_LENGTH * 2],
|
||||
uint64_t chainId);
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* See #getEthAddressFromRawKey
|
||||
*/
|
||||
DEPRECATED static inline bool getEthAddressFromKey(cx_ecfp_public_key_t *publicKey,
|
||||
uint8_t *out,
|
||||
cx_sha3_t *sha3Context) {
|
||||
UNUSED(sha3Context);
|
||||
|
||||
getEthAddressFromRawKey(publicKey->W, out);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* See #getEthAddressFromRawKey
|
||||
*/
|
||||
DEPRECATED static inline bool getEthAddressStringFromKey(cx_ecfp_public_key_t *publicKey,
|
||||
uint8_t *out,
|
||||
cx_sha3_t *sha3Context,
|
||||
uint64_t chainId) {
|
||||
UNUSED(sha3Context);
|
||||
|
||||
getEthAddressStringFromRawKey(publicKey->W, (char *) out, chainId);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool getEthAddressStringFromBinary(uint8_t *address,
|
||||
char out[static ADDRESS_LENGTH * 2],
|
||||
uint64_t chainId);
|
||||
|
||||
Reference in New Issue
Block a user