From 1a8bb93180cb0afebe39a3e7d2599de2831fe4de Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Wed, 27 Mar 2024 17:20:58 +0100 Subject: [PATCH] Remove old funtion in deprecated --- src_common/common_utils.h | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/src_common/common_utils.h b/src_common/common_utils.h index 2a7566f62..2c1a8dd3d 100644 --- a/src_common/common_utils.h +++ b/src_common/common_utils.h @@ -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);