Skip to content

Commit

Permalink
Remove old funtion in deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
cedelavergne-ledger committed Mar 27, 2024
1 parent 7e6ae35 commit 1a8bb93
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions src_common/common_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1a8bb93

Please sign in to comment.